Horde_Mobile::
Horde API for generating Mobile content. Includes numerous utility functions, generalized element classes, and renderers for markup languages including WML, HDML, and CHTML.
This class is the top level class of all Horde_Mobile classes. Your page should consist of exactly one Horde_Mobile object. Appropriate markup - Imode, WML, HDML, etc. - is generated by the appropriate renderer object
Do not overstuff Horde_Mobile objects. Remember that a lot of WAP clients cannot handle more than about 1400 bytes of compiled data.
Examples:
$myPage = new Horde_Mobile(); $myPage = new Horde_Mobile('My WAP page'); $myPage = new Horde_Mobile('', 'center');
// More stuff
$myPage->add($myText);
// More items
$myPage->render();
$Horde: framework/Mobile/Mobile.php,v 1.32.10.14 2009/01/06 15:23:25 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Mobile/Mobile.php (line 117)
Horde_Mobile_element | --Horde_Mobile_card | --Horde_Mobile
Class | Description |
---|---|
![]() |
Horde_Mobile_Renderer:: framework for mobile device markup renderers. |
Inherited from Horde_Mobile_card
Horde_Mobile_card::$_form
Horde_Mobile_card::$_linksetAdded
Horde_Mobile_card::$_name
Horde_Mobile_card::$_softkeys
Constructor
Creates the page in the appropriate markup language. Depending on the renderer type, HTML (pure HTML, handheldfriendly AvantGo HTML, i-mode cHTML, MML), WML or HDML code is created.
Activates the built-in device simulator on bigscreen browsers.
The device simulator is only fully-functional in Internet Explorer, because the layout requires a scrollable table element. Other browsers will fail to show content on pages longer than a single screen.
Inherited From Horde_Mobile_card
Horde_Mobile_card::Horde_Mobile_card()
Horde_Mobile_card::add()
Horde_Mobile_card::softkey()
Inherited From Horde_Mobile_element
Horde_Mobile_element::Horde_Mobile_element()
Horde_Mobile_element::get()
Horde_Mobile_element::set()
Documentation generated on Sun, 30 Jan 2011 05:19:40 +0000 by phpDocumentor 1.4.3