src/articles/classes/Controller/Client/Content.php
private function addToPath($article)
    {
        $pathItem = array(
            'access' => $this->getPage()->access,
            'name' => $article->id,
            'title' => $article->caption,
            'hint' => '',
            'description' => '',
            'keywords' => '',
        );
        $address = explode('/', Eresus_Kernel::app()->getLegacyKernel()->request['path']);
        $address = array_slice($address, 3);
        $url = implode('/', $address);
        $url .= $pathItem['name'] . '/';
        Eresus_Kernel::app()->getLegacyKernel()->plugins->clientOnURLSplit($pathItem, $url);
    }
private function addToPath($article)
    {
        $pathItem = array(
            'access' => $this->getPage()->access,
            'name' => $article->id,
            'title' => $article->caption,
            'hint' => '',
            'description' => '',
            'keywords' => '',
        );
        $address = explode('/', Eresus_Kernel::app()->getLegacyKernel()->request['path']);
        $address = array_slice($address, 3);
        $url = implode('/', $address);
        $url .= $pathItem['name'] . '/';
        Eresus_Kernel::app()->getLegacyKernel()->plugins->clientOnURLSplit($pathItem, $url);
    }
private function addToPath ( $ article ) { $ pathItem = array ( 'access' => $ this -> getPage ( ) -> access , 'name' => $ article -> id , 'title' => $ article -> caption , 'hint' => '' , 'description' => '' , 'keywords' => '' , ) ; $ address = explode ( '/' , Eresus_Kernel :: app ( ) -> getLegacyKernel ( ) -> request [ 'path' ] ) ; $ address = array_slice ( $ address , 3 ) ; $ url = implode ( '/' , $ address ) ; $ url .= $ pathItem [ 'name' ] . '/' ; Eresus_Kernel :: app ( ) -> getLegacyKernel ( ) -> plugins -> clientOnURLSplit ( $ pathItem , $ url ) ; }
Добавляет статью в путь плагина Path

@param Articles_Entity_Article $article

@since 3.01
Добавляет статью в путь плагина Path