Example #1
0
 /**
  *  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));
 }
Example #2
0
 /**
  *  Initializes the class.
  *
  *  @access public
  *  @return void
  */
 protected function _init()
 {
     $this->_classname = Meta::classname_only(get_called_class());
 }
Example #3
0
 /**
  *  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);
 }