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');
 }
Exemple #5
0
 public function getType()
 {
     return parent::get('type');
 }
 public function get($field)
 {
     return parent::get($field);
 }
Exemple #7
0
 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');
 }
Exemple #10
0
 /**
  * @return array
  */
 public function getAdditionalFields()
 {
     $s = parent::get('additionalFields');
     if (!$s) {
         $s = '{}';
     }
     return json_decode($s);
 }
 public function __toString()
 {
     return parent::get('name');
 }
Exemple #12
0
 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');
 }
Exemple #15
0
 public function getIssue_id()
 {
     return parent::get('issue_id');
 }
Exemple #16
0
 public function getContactMethod_id()
 {
     return parent::get('contactMethod_id');
 }
Exemple #17
0
 /**
  * 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'));
 }
Exemple #18
0
 public function getUsedForNotifications()
 {
     return parent::get('usedForNotifications') ? true : false;
 }