function render() { if ($_GET['button']) { return $this->js()->univ()->alert('Nothing happened :)')->execute(); } parent::render(); }
function defaultTemplate(){ $top_page=str_replace('page_','', get_class($this)); if($this->api->page!=$top_page){ // subpage $sub_page=str_replace($top_page.'_','',$this->api->page); return array('page/'.str_replace('_','/',$top_page).'/'.$sub_page); } return parent::defaultTemplate(); //array('page/'.str_replace('_','/',$this->api->page)); }
function init() { parent::init(); $dbl = $this->add('Doc_Filestore_Intro')->setName('Filestore_Intro')->set('type', 'misc')->set('descr', 'DBLite is a lightweight replacement for PEAR::DB. It provides basic functionality for interraction with database.'); $this->add('Doc_Filestore_File')->setName('Model_Filestore_File')->set('type', 'model')->set('descr', 'DSQL is implementation of dynamic queries. Using dynamic queries helps in easier modification of your SQL query as well as improved security. DSQL implements different queries such as selects, updates, deletes and others'); //$this->add('Doc_Class') ->setName('DBLite_mysql_cluster') ; }
function init() { parent::init(); $dbl = $this->add('Doc_Class_AbstractObject')->setName('AbstractObject')->set('type', 'abstract'); $this->add('Doc_Class')->setName('AbstractView')->set('type', 'view')->set('descr', 'DSQL is implementation of dynamic queries. Using dynamic queries helps in easier modification of your SQL query as well as improved security. DSQL implements different queries such as selects, updates, deletes and others'); $this->add('Doc_Class')->setName('DBLite_psql'); $this->add('Doc_Class')->setName('DBLite_mysql'); $this->add('Doc_Class')->setName('DBLite_mysql_cluster'); }
function init() { parent::init(); $this->api->dbConnect(); }
function init() { parent::init(); $this->add('View', null, 'sidebar', array('page/whatsnew/sidebar')); }