PHP Classes

File: demos/012.php

Recommend this page to a friend!
  Packages of Tom Schaefer   d3Extjs   demos/012.php   Download  
File: demos/012.php
Role: Example script
Content type: text/plain
Description: the getReturn()-method in action
Class: d3Extjs
Generate JavaScript code to access ExtJS library
Author: By
Last change:
Date: 13 years ago
Size: 509 bytes
 

Contents

Class file image Download
<?php
$showsource = true;


include_once '../d3.classes.inc.php';
include_once '../extjs.class.inc.php';

ext()->define('Ext.app.Portal', o3(array(
  
  "extend" => 'Ext.container.Viewport',
  "uses" => array('Ext.app.PortalPanel', 'Ext.app.PortalColumn', 'Ext.app.GridPortlet', 'Ext.app.ChartPortlet'),
  "getTools" => f3()->add(
    array(o3(array(
        "xtype" => 'tool',
        "type" => 'gear',
    )))
  )->getReturn(),

)))->colon()->linebreak()->toStack();

echo stack();
?>