コード例 #1
0
 public function getName()
 {
     return parent::get('name');
 }
コード例 #2
0
 public function getId()
 {
     return parent::get('id');
 }
コード例 #3
0
ファイル: Bookmark.php プロジェクト: CodeForEindhoven/uReport
 public function getName()
 {
     $name = parent::get('name');
     return $name ? $name : $this->getRequestUri();
 }
コード例 #4
0
 public function getAggregation_id()
 {
     return parent::get('aggregation_id');
 }
コード例 #5
0
ファイル: Action.php プロジェクト: CodeForEindhoven/uReport
 public function getType()
 {
     return parent::get('type');
 }
コード例 #6
0
 public function get($field)
 {
     return parent::get($field);
 }
コード例 #7
0
ファイル: Address.php プロジェクト: CodeForEindhoven/uReport
 public function getPerson_id()
 {
     return parent::get('person_id');
 }
コード例 #8
0
 public function isDefault()
 {
     return parent::get('isDefault') ? true : false;
 }
コード例 #9
0
 public function getDefaultPerson_id()
 {
     return parent::get('defaultPerson_id');
 }
コード例 #10
0
ファイル: Ticket.php プロジェクト: CodeForEindhoven/uReport
 /**
  * @return array
  */
 public function getAdditionalFields()
 {
     $s = parent::get('additionalFields');
     if (!$s) {
         $s = '{}';
     }
     return json_decode($s);
 }
コード例 #11
0
 public function __toString()
 {
     return parent::get('name');
 }
コード例 #12
0
ファイル: Person.php プロジェクト: CodeForEindhoven/uReport
 public function getAuthenticationMethod()
 {
     return parent::get('authenticationMethod');
 }
コード例 #13
0
 /**
  * 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;
 }
コード例 #14
0
 public function getLongitude()
 {
     return parent::get('longitude');
 }
コード例 #15
0
ファイル: History.php プロジェクト: husseinmouazzem/uReport
 public function getIssue_id()
 {
     return parent::get('issue_id');
 }
コード例 #16
0
ファイル: Client.php プロジェクト: CodeForEindhoven/uReport
 public function getContactMethod_id()
 {
     return parent::get('contactMethod_id');
 }
コード例 #17
0
ファイル: Category.php プロジェクト: husseinmouazzem/uReport
 /**
  * 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'));
 }
コード例 #18
0
ファイル: Email.php プロジェクト: CodeForEindhoven/uReport
 public function getUsedForNotifications()
 {
     return parent::get('usedForNotifications') ? true : false;
 }