[Wiki] changed: Doc/Dev/InjectorH4
Michael Slusarz <[email protected]>
| Newsgroups | gmane.comp.horde.cvs |
|---|---|
| Message-ID | <[email protected]> |
slusarz Tue, 03 Aug 2010 00:40:02 -0400 Modified page: http://wiki.horde.org/Doc/Dev/InjectorH4 New Revision: 1.7 Change log: Add Horde_Ajax_Imple, Horde_Prefs, and Horde_Text_Filter @@ -43,8 +43,17 @@ $ajax = getAjax($app, $vars, [$action]) > $ajax = (Horde_Core_Ajax_Application) > $vars = (Horde_Variables) The Form/Request data. > $action = (string) The ajax action to perform. + ++++ Horde_Ajax_Imple + +Returns factory object with the following publicly available methods: + +$imple = getImple($driver[, $params[, $noattach]]) +> $driver = (mixed) Either a driver name or an array with 2 elements (application, driver) +> $params = (array) Parameters needed by driver. +> $noattach = (boolean) If true, don't attach to page. Defaults to false. +++ Horde_Crypt Returns factory object with the following publicly available methods: @@ -118,8 +127,17 @@ $lt = getLoginTasks($app) > $lt = (Horde_LoginTasks) > $app = (string) The current application. + ++++ Horde_Prefs + +Returns factory object with the following publicly available methods: + +$prefs = getPrefs([$scope[, $opts]]) +> $prefs = (Horde_Prefs) +> $scope = (string) Scope for this set of preferences. Default is 'horde'. +> $opts = (array) Options for the Horde_Prefs constructor (see Horde_Prefs::factory()). Additionally, if 'session' is true, will return a session instance. +++ Horde_Prefs_Identity Returns factory object with the following publicly available methods: @@ -136,17 +154,33 @@ $share = getScope([$app, [$driver]]) > $share = (Horde_Share) > $app = (string) The application scope to use, if not the current app. > $driver = (array) The share driver. Either empty (use default driver from $conf) or a driver name. + ++++ Horde_Text_Filter + +Returns factory object with the following publicly available methods: + +$filter = getFilter($driver[, $params]) +> $filter = (Horde_Text_Filter_Base) +> $driver = (string) The driver name. +> $params = (array) Parameters needed by the filter driver. + +$text = filter($intext[, $filters[, $params]]) +> $text = (string) The filtered text. +> $intext = (string) The original text. +> $filters = (mixed) A list of filter names or a single filter name. +> $params = (array) The list of params to use with each filter in $filters. +++ Horde_Tree + Returns factory object with the following publicly available methods: -$tree = getTree($name, $renderer, [$driver]]) +$tree = getTree($name, $renderer, [$params]]) > $tree = (Horde_Tree) > $name = (string) The name of the tree instance. > $renderer = (string) The type of tree renderer (generally 'html', 'javascript', or 'select'). -> $oarams = (array) Any additional parameters needed. +> $params = (array) Any additional parameters needed. +++ Horde_Vfs Returns factory object with the following publicly available methods: -- To unsubscribe, mail: [email protected]