Class hscstudio\heart\helpers\Heart

Inheritancehscstudio\heart\helpers\Heart
Available since version2.0

Provides implementation for various helper functions

Method Details

OrganisationAuthorized() public method

void OrganisationAuthorized$code = [], $chairman = [0], $array_map false )
$code
$chairman
$array_map
abjad() public method

Generates abjad list column.

See also \hscstudio\heart\helpers\Excel columns.

void abjad$start 0$end )
$start integer
$end integer

Example(s): ~~~ echo Heart::abjad(0); // [A] echo Heart::abjad(28); // [AB] echo Heart::abjad(1,3); // [B,C,D] ~~~

imageResize() public method

void imageResize$src$dst$width$height$crop )
$src
$dst
$width
$height
$crop
objectPerson() public method

void objectPerson$object_person$person_id$object$object_id$type )
$object_person
$person_id
$object
$object_id
$type
objectReference() public method

void objectReference$object_reference$reference_id$object$object_id$type )
$object_reference
$reference_id
$object
$object_id
$type
terbilang() public method

void terbilang$x )
$x
twodate() public method

void twodate$start ''$end ''$monthType 0$yearType 0$delimiter ' '$separator ' s.d ' )
$start
$end
$monthType
$yearType
$delimiter
$separator
unlink() public method

void unlink$object_file$thumb false )
$object_file
$thumb
upload() public method

void upload$instance_file$object 'person'$object_id$file$object_file$type 'photo'$resize false$current_file ''$thumb false )
$instance_file
$object
$object_id
$file
$object_file
$type
$resize
$current_file
$thumb