protected function _commandView($command)
    {
        $entity = $this->getController()->getItem();
        $command->append(array('label' => AnTranslator::_('COM-ARTICLES-ARTICLE-CURRENT-VERSION')));
        $command->href('option=com_articles&view=article&id='.$entity->parent->id);
    }
protected function _commandView($command)
    {
        $entity = $this->getController()->getItem();
        $command->append(array('label' => AnTranslator::_('COM-ARTICLES-ARTICLE-CURRENT-VERSION')));
        $command->href('option=com_articles&view=article&id='.$entity->parent->id);
    }
protected function _commandView ( $ command ) { $ entity = $ this -> getController ( ) -> getItem ( ) ; $ command -> append ( array ( 'label' => AnTranslator :: _ ( 'COM-ARTICLES-ARTICLE-CURRENT-VERSION' ) ) ) ; $ command -> href ( 'option=com_articles&view=article&id=' . $ entity -> parent -> id ) ; }
View command.

@param LibBaseTemplateObject $command Command Object
View command .