public function editLink() { if ($this->existsEditLink()) { $this->link('編集する', $this->_View->viewVars['editLink'], array('class' => 'tool-menu')); } }