예제 #1
0
 /**
  * Gets properties for the current document.
  *
  * It can be reflection propreties as well as magic proprties
  *
  * @return   array Returns array of the available propreties
  */
 public static function getDocumentProperties()
 {
     $ret = parent::getDocumentProperties();
     $ret['id'] = array('idx' => true);
     $ret['farmid'] = array('idx' => true);
     $ret['roleid'] = array('idx' => true);
     return $ret;
 }
예제 #2
0
 /**
  * Gets properties for the current document.
  *
  * It can be reflection propreties as well as magic proprties
  *
  * @return   array Returns array of the available propreties
  */
 public static function getDocumentProperties()
 {
     static $ret = null;
     if (!isset($ret)) {
         $ret = array_merge(parent::getDocumentProperties(), array('crypto.key', 'szr.upd.repository', 'szr.upd.schedule'));
         $ret['farmid'] = array('idx' => true);
     }
     return $ret;
 }