Timber\Core::get_method_values PHP Метод

get_method_values() публичный Метод

public get_method_values ( ) : array
Результат array
    public function get_method_values()
    {
        $ret = array();
        $ret['can_edit'] = $this->can_edit();
        return $ret;
    }

Usage Example

Пример #1
0
 /**
  * @return array
  * @codeCoverageIgnore
  */
 public function get_method_values()
 {
     $ret = parent::get_method_values();
     $ret['author'] = $this->author();
     $ret['categories'] = $this->categories();
     $ret['category'] = $this->category();
     $ret['children'] = $this->children();
     $ret['comments'] = $this->comments();
     $ret['content'] = $this->content();
     $ret['edit_link'] = $this->edit_link();
     $ret['format'] = $this->format();
     $ret['link'] = $this->link();
     $ret['next'] = $this->next();
     $ret['pagination'] = $this->pagination();
     $ret['parent'] = $this->parent();
     $ret['path'] = $this->path();
     $ret['prev'] = $this->prev();
     $ret['terms'] = $this->terms();
     $ret['tags'] = $this->tags();
     $ret['thumbnail'] = $this->thumbnail();
     $ret['title'] = $this->title();
     return $ret;
 }