aw schriftzug.png aw logo 60x60.png

internal package Foswiki::Plugins::LdapGuiPlugin::RequestData

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

new ($error) Either gets an error object from outside or creates its own. Initialized empty until init gets called.

init ( $schema, $query ) → boolean

init sets the object attribites and returns true on success. If something went wrong it returns false. The caller of init() should control the return value. This method tries not to die or crash the whole workflow, because this object holds either an own error object or (maybe later) just gets a more 'global' error object passed through the constructor. It should not die but rather add new values to the error object so that a good failure message can get rendered and returned or write it to debug files. Workflow should get interrupted on false return in the calling method.

TODO: split that mess up a bit + produce clean code

private method to preprocess options before the actual requestdata gets touched. this is because there are options which take directly influence in which request data will be ignored/constructed and so on

plannend options:

Topic revision: r1 - 2018-02-27, UnknownUser
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback