public function getName() { return parent::get('name'); }
public function getId() { return parent::get('id'); }
public function getName() { $name = parent::get('name'); return $name ? $name : $this->getRequestUri(); }
public function getAggregation_id() { return parent::get('aggregation_id'); }
public function getType() { return parent::get('type'); }
public function get($field) { return parent::get($field); }
public function getPerson_id() { return parent::get('person_id'); }
public function isDefault() { return parent::get('isDefault') ? true : false; }
public function getDefaultPerson_id() { return parent::get('defaultPerson_id'); }
/** * @return array */ public function getAdditionalFields() { $s = parent::get('additionalFields'); if (!$s) { $s = '{}'; } return json_decode($s); }
public function __toString() { return parent::get('name'); }
public function getAuthenticationMethod() { return parent::get('authenticationMethod'); }
/** * Returns the file name used on the server * * We do not use the filename the user chose when saving the files. * We generate a unique filename the first time the filename is needed. * This filename will be saved in the database whenever this media is * finally saved. * * @return string */ public function getInternalFilename() { $filename = parent::get('internalFilename'); if (!$filename) { $filename = uniqid(); parent::set('internalFilename', $filename); } return $filename; }
public function getLongitude() { return parent::get('longitude'); }
public function getIssue_id() { return parent::get('issue_id'); }
public function getContactMethod_id() { return parent::get('contactMethod_id'); }
/** * Returns a PHP array representing the description of custom fields * * The category holds the description of the custom fields desired * $customFields = array( * array('name'=>'','type'=>'','label'=>'','values'=>array()) * ) * Name and Label are required. * Anything without a type will be rendered as type='text' * If type is select, radio, or checkbox, you must provide values * for the user to choose from * * @return array */ public function getCustomFields() { return json_decode(parent::get('customFields')); }
public function getUsedForNotifications() { return parent::get('usedForNotifications') ? true : false; }