/** * 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; }
/** * 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; }