PHP Class 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');
Inheritance: extends AbstractView
Afficher le fichier Open project: atk4/atk4

Méthodes publiques

Свойство Type Description
$app App_Web
$owner View

Méthodes publiques

Méthode Description
defaultTemplate ( )
render ( ) }}}

Method Details

defaultTemplate() public méthode

public defaultTemplate ( )

render() public méthode

}}}
public render ( )

Property Details

$app public_oe property

public App_Web $app
Résultat App_Web

$owner public_oe property

public View $owner
Résultat View