/** * Checks if a method is protected. * * @param string $method The method. * @access public * @return bool */ public function is_protected($method) { return in_array($method, Meta::get_protected_methods($this)); }
/** * Initializes the class. * * @access public * @return void */ protected function _init() { $this->_classname = Meta::classname_only(get_called_class()); }
/** * Retrieves the "columns" (i.e., protected properties * that are not prefixed with an underscore) belonging * to `$this`. * * @access public * @return array */ public function get_columns() { return Meta::get_columns($this); }