public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_div = new HTML_Div(); $this->_attributes->register('sensor', false); $this->_attributes->register('lat'); // lattitude $this->_attributes->register('lng'); // longitude $this->_attributes->register('zoom', 8); $this->_attributes->register('navigationControl', true); // possible values: true, 'SMALL', 'ZOOM_PAN', 'ANDROID', 'DEFAULT' $this->_attributes->register('mapTypeControl', true); // possible values: true, 'HORIZONTAL_BAR', 'DROPDOWN_MENU', 'DEFAULT' $this->_attributes->register('scaleControl', true); $this->_attributes->register('type', 'ROADMAP'); // possible values: 'ROADMAP', 'SATELLITE', 'HYBRID', 'TERRAIN' $this->_attributes->register('marker'); // ids of elements with info window contents for markers separated by semicolon (use empty string or # if no info window is attached to the marker) $this->_attributes->register('mlat'); // lattitudes of markers separated by semicolons $this->_attributes->register('mlng'); // longitudes of markers separated by semicolons $this->_attributes->register('titles_separator', ';'); // marker titles separator $this->_attributes->register('micon'); // icons of markers separated by semicolons $this->_attributes->register('mtitle'); // titles of markers separated by titles_separator $this->_attributes->register('mopen'); // opened status of info windows attached to markers separated by semicolons $this->_attributes->register('setContentByString', false); // set content via string rather than through node (workaround for googlemaps bug) }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); // TODO: add class variables initialization code // TODO: register view attributes // $this->_attributes->register('attribute_name'/*, 'default_value'*/); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_root = null; $this->_sub_view_manager = null; $this->_attributes->register('template'); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_input = new HTML_Input(); $this->_attributes->register('method', 'post'); $this->_attributes->register('formid'); // allows detection of data transfer (expecting a hidden input with an appropriate name) }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_a = new HTML_A(); $this->_attributes->register('page'); $this->_attributes->register('qs'); $this->_attributes->register('popup'); $this->_attributes->register('nobase'); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_attributes->register('code', 303); $this->_attributes->register('schema'); $this->_attributes->register('host'); $this->_attributes->register('target'); $this->_attributes->register('navpoint'); $this->_attributes->register('qs'); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_a = new HTML_A(); $this->_attributes->register('contact'); $this->_attributes->register('at'); // only relevant if mailto tag has no content; then if null, name of contact is rendered, else email address with given @ replacement is rendered $this->_attributes->register('method'); $this->_attributes->register('qs'); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_attributes->register('name'); $this->_attributes->register('raw'); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_attributes->register('unique', true); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_content = null; $this->_attributes->register('url'); }