src/classes/Page.php
public static function createZone($zoneName, $tag='div')
    {
        if (self::$_page && !isset(self::$_zones[$zoneName])) {
            $element = new Html\Element($tag);
            self::$_zones[$zoneName] = $element;
            self::append(self::$_outputZone, $element);
            return $element;
        }
        return null;
    }
public static function createZone($zoneName, $tag='div')
    {
        if (self::$_page && !isset(self::$_zones[$zoneName])) {
            $element = new Html\Element($tag);
            self::$_zones[$zoneName] = $element;
            self::append(self::$_outputZone, $element);
            return $element;
        }
        return null;
    }
public static function createZone ( $ zoneName , $ tag = 'div' ) { if ( self :: $ _page && ! isset ( self :: $ _zones [ $ zoneName ] ) ) { $ element = new Html \ Element ( $ tag ) ; self :: $ _zones [ $ zoneName ] = $ element ; self :: append ( self :: $ _outputZone , $ element ) ; return $ element ; } return null ; }
Create a new page zone.

@param string $zoneName Zone name.
@param string $tag Tag name (defaults to div).
@return \Asbestos\Html\Element
Create a new page zone .