$view
$view : object
The View on which this Element is drawn
Element used to render the admin interface for a logged in user of Yioop
Elements are classes are used to render portions of a web page which might be common to several views like a view there is supposed to minimal php code in an element
render(array $data)
Renders the list of admin activities and draws the current activity Renders the Javascript to autologout after an hour
It should be implemented in subclasses.
array | $data | what is contained in this array depend on the current admin activity. The $data['ELEMENT'] says which activity to render |