Class: I2CE Wrangler (4.1.7)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the class I2CE_Wrangler .

Variables

$command_line

true if we are called from the command line

Methods

__construct()

getArgs()

getPage()

Gets the page assoicated with a module

  • Defined in i2ce/modules/Pages/lib/I2CE_Wrangler.php on line 123
  • Signature: public function getPage($module,$page,$request_remainder,$args,$get,$post)
  • Parameters:
    • string $module
    • string $page
    • array $request_remainder
      of string... anything that would be a part of the remainder of the URL
      • Default Value: array()
    • array $args
      an array of page arguments. Defaults to the empty array. Overwrites anything found in config for the page style or page
      • Default Value: array()
    • $get
      • Default Value: null
    • $post
      • Default Value: null

processPath()

wrangle()

Method to call to handle page wrangling

  • Defined in i2ce/modules/Pages/lib/I2CE_Wrangler.php on line 39
  • Signature: public function wrangle($path,$display,$get,$post)
  • Parameters:
    • string $path
      If non-null the path of the page we want to wrangle. otherwise it processes from the url or commandline arguments Defaults to null
      • Default Value: null
    • boolean $display
      Set to true (default) to call the page's display() method
      • Default Value: true
    • $get
      • Default Value: null
    • $post
      • Default Value: null
  • Returns: I2CE_Page
    the page created

Inherited Methods

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()

Fuzzy Methods

manipulateWrangler_I2CE_logout()

This method is implemented by I2CE_Module_Login->manipulateWrangler()

manipulateWrangler_I2CE_home()

This method is implemented by I2CE_Module_ModulePrompter->changeHomePage()