Class hscstudio\heart\helpers\Heart
Inheritance | hscstudio\heart\helpers\Heart |
---|---|
Available since version | 2.0 |
Provides implementation for various helper functions
Public Methods
Method Details
void OrganisationAuthorized( $code = [], $chairman = [0], $array_map = false ) | ||
$code | ||
$chairman | ||
$array_map |
Generates abjad list column.
See also \hscstudio\heart\helpers\Excel columns.
void abjad( $start = 0, $end = 0 ) | ||
$start | integer | |
$end | integer | Example(s): ~~~ echo Heart::abjad(0); // [A] echo Heart::abjad(28); // [AB] echo Heart::abjad(1,3); // [B,C,D] ~~~ |
void imageResize( $src, $dst, $width, $height, $crop = 0 ) | ||
$src | ||
$dst | ||
$width | ||
$height | ||
$crop |
void objectPerson( $object_person, $person_id, $object, $object_id, $type ) | ||
$object_person | ||
$person_id | ||
$object | ||
$object_id | ||
$type |
void objectReference( $object_reference, $reference_id, $object, $object_id, $type ) | ||
$object_reference | ||
$reference_id | ||
$object | ||
$object_id | ||
$type |
void terbilang( $x = 1 ) | ||
$x |
void twodate( $start = '', $end = '', $monthType = 0, $yearType = 0, $delimiter = ' ', $separator = ' s.d ' ) | ||
$start | ||
$end | ||
$monthType | ||
$yearType | ||
$delimiter | ||
$separator |
void unlink( $object_file, $thumb = false ) | ||
$object_file | ||
$thumb |
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 |