src/articles/classes/Entity/Article.php
protected function getImageUrl()
    {
        /** @var Articles $plugin */
        $plugin = $this->getTable()->getPlugin();
        $localPart = $plugin->getName() . '/' . $this->id . '.jpg';
        if (file_exists(Eresus_Kernel::app()->getLegacyKernel()->fdata . $localPart))
        {
            return Eresus_Kernel::app()->getLegacyKernel()->data . $localPart;
        }
        return null;
    }
protected function getImageUrl()
    {
        /** @var Articles $plugin */
        $plugin = $this->getTable()->getPlugin();
        $localPart = $plugin->getName() . '/' . $this->id . '.jpg';
        if (file_exists(Eresus_Kernel::app()->getLegacyKernel()->fdata . $localPart))
        {
            return Eresus_Kernel::app()->getLegacyKernel()->data . $localPart;
        }
        return null;
    }
protected function getImageUrl ( ) { /** @var Articles $plugin */ $ plugin = $ this -> getTable ( ) -> getPlugin ( ) ; $ localPart = $ plugin -> getName ( ) . '/' . $ this -> id . '.jpg' ; if ( file_exists ( Eresus_Kernel :: app ( ) -> getLegacyKernel ( ) -> fdata . $ localPart ) ) { return Eresus_Kernel :: app ( ) -> getLegacyKernel ( ) -> data . $ localPart ; } return null ; }
Возвращает адрес картинки

@return string|null

@since 3.01
Возвращает адрес картинки