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
显示文件 Open project: atk4/atk4

Public Properties

Property Type Description
$app App_Web
$owner View

Public Methods

Method Description
defaultTemplate ( )
render ( ) }}}

Method Details

defaultTemplate() public method

public defaultTemplate ( )

render() public method

}}}
public render ( )

Property Details

$app public_oe property

public App_Web $app
return App_Web

$owner public_oe property

public View $owner
return View