Lesson 1. Navigation menu
|
section_id
|
name
|
uri
|
1
|
Mainpage
|
/
|
2
|
News
|
/news/
|
3
|
Contacts
|
/contacts/
|
4
|
Prices
|
/price/
|
5
|
Your opinion
|
/gbook/
|
$var[…]
|
-assign variable
|
$var
|
-retrieve value
|
$variable[value]
|
Assigning a variable
|
$variable
|
Retrieving a variable's value
|
$variable[^class_name::constructor[parameters]]
|
Creating an object of class class_name and assigning it to variable
|
$variable.field_name
|
Retrieving the value of an object's field stored in variable
|
^variable.method[]
|
Calling an action (method of the class, which the object stored in the variable belongs to)
|
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 04.09.2008 |