protected function _actionPin($context)
    {
        $context->response->status = AnHttpResponse::RESET_CONTENT;
        $this->getItem()->pinned = 1;

        return $this->getItem();
    }
protected function _actionPin($context)
    {
        $context->response->status = AnHttpResponse::RESET_CONTENT;
        $this->getItem()->pinned = 1;

        return $this->getItem();
    }
protected function _actionPin ( $ context ) { $ context -> response -> status = AnHttpResponse :: RESET_CONTENT ; $ this -> getItem ( ) -> pinned = 1 ; return $ this -> getItem ( ) ; }
Pin Entity.

@param AnCommandContext $context
Pin Entity .