Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
editutil.php File Reference

Go to the source code of this file.

Namespaces

 FDL
 

Functions

 getHtmlInput (&$doc, &$oattr, $value, $index="", $jsevent="", $notd=false)
 
 editmode (Action &$action)
 

Function Documentation

editmode ( Action $action)

add different js files needed in edition mode

Parameters
Action$action

Definition at line 41 of file editutil.php.

+ Here is the call graph for this function:

getHtmlInput ( $doc,
$oattr,
  $value,
  $index = "",
  $jsevent = "",
  $notd = false 
)

Compose html code to insert input

Parameters
Doc&$docdocument to edit
NormalAttribute&$oattrattribute to edit
string$valuevalue of the attribute
string$indexin case of array : row of the array
string$jseventadd an javascript callback on input (like onblur or onmouseover)
string$notdnot add cells in html input generated (by default inputs are in arrays)

Definition at line 30 of file editutil.php.

← centre documentaire © anakeen