Esempio n. 1
0
 /**
  * class constructor
  *
  * @access public
  * @return civicrm_hrjob_pay
  */
 function __construct()
 {
     $this->__table = 'civicrm_hrjobcontract_pay';
     parent::__construct();
 }
Esempio n. 2
0
 /**
  * returns the list of fields that can be exported
  *
  * @access public
  * return array
  * @static
  */
 static function &export($prefix = false)
 {
     if (!self::$_export) {
         self::$_export = array();
         $fields = self::fields();
         foreach ($fields as $name => $field) {
             if (!empty($field['export'])) {
                 if ($prefix) {
                     self::$_export[self::getTableName()] =& $fields[$name];
                 } else {
                     self::$_export[$name] =& $fields[$name];
                 }
             }
         }
     }
     return self::$_export;
 }