public function __construct($init = null, $where = '') { parent::__construct(); $this->_objType = 'categories_registry'; $this->_objField = 'id'; $this->_objPath = 'categories_registry_array'; $this->_init($init, $where); }
function __construct($init = null, $where = '') { parent::__construct(); $this->_objType = 'sc_intrusion'; $this->_objField = 'id'; $this->_objPath = 'intrusion_array'; $this->_objJoin[] = array('join_table' => 'users', 'join_field' => 'uname', 'object_field_name' => 'username', 'compare_field_table' => 'uid', 'compare_field_join' => 'uid'); $this->_init($init, $where); }
public function __construct($init = null, $where = '') { parent::__construct(); $this->_objType = 'categories_category'; $this->_objField = 'id'; $this->_objPath = 'categories_category_array'; $this->_objPermissionFilter[] = array('component_left' => 'ZikulaCategoriesModule', 'component_middle' => '', 'component_right' => '', 'instance_left' => 'id', 'instance_middle' => 'ipath', 'instance_right' => 'path', 'level' => ACCESS_READ); $this->_init($init, $where); }
public function _init($init = null, $where = null, $orderBy = null, $limitOffset = -1, $limitNumRows = -1, $assocKey = null) { static $initTypes = array('D' => self::GET_FROM_DB, 'G' => self::GET_FROM_GET, 'P' => self::GET_FROM_POST, 'R' => self::GET_FROM_REQUEST, 'S' => self::GET_FROM_SESSION, 'V' => self::GET_FROM_VALIDATION_FAILED); if (is_string($init) && array_key_exists($init, $initTypes)) { $init = $initTypes[$init]; } return parent::_init($init, $where, $orderBy, $limitOffset, $limitNumRows, $assocKey); }