PHP Класс Menu_Light, atk4

It's not that simply always, sometimes there are sub-pages also. This class solves the problem. Lets build a structure which adds asterik next to page. First we need to specify that the object to be coppied around is an asterik. (in your case it might be a class name) * Next put self closing tags in form "current_" + page exactly where you want the current to appear services consulting mentoring products about If you go to page servcies, the asterisk will be placed next to "services". If you are on the page services/mentoring then asterik will appear next to services AND consulting lines. Line with "about" will have asterik if you are either on 'about' or 'contact' page. That's all you need to know to use this. To add this to your application use $this->add('Menu_Light',null,'Menu');
Наследование: extends AbstractView
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$app App_Web
$owner View

Открытые методы

Метод Описание
defaultTemplate ( )
render ( ) }}}

Описание методов

defaultTemplate() публичный Метод

public defaultTemplate ( )

render() публичный Метод

}}}
public render ( )

Описание свойств

$app публичное свойство

public App_Web $app
Результат App_Web

$owner публичное свойство

public View $owner
Результат View