Go to the source code of this file.
Namespaces | |
namespace | FDL |
Functions | |
getHtmlInput (&$doc, &$oattr, $value, $index="", $jsevent="", $notd=false) | |
elinkEncode (&$doc, $attrik, $link, $index, &$ititle="", &$isymbol="") | |
getLayArray (&$lay, &$doc, &$oattr, $row=-1) | |
getZoneLayArray (&$lay, &$doc, &$oattr, $zone) | |
rowattrReplace (&$doc, $s, $index, &$defval=null) | |
getLayAdoc (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayMultiDoc (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayDate (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayOptions (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayDocOption (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayTextOptions (&$lay, &$doc, &$oattr, $value, $aname, $index) | |
getLayIdoc (&$doc, &$oattr, $attridk, $attrin, $value, $zone="") | |
editmode (&$action) | |
addDocIdCreate (BasicAttribute &$oattr, Doc &$doc, $attridk, $value, $index) | |
addDocIdCreate | ( | BasicAttribute & | $oattr, |
Doc & | $doc, | ||
$attridk, | |||
$value, | |||
$index | |||
) |
add button to create/modify document relation
DocAttribute | $oattr |
Definition at line 1466 of file editutil.php.
editmode | ( | & | $action | ) |
add different js files needed in edition mode
Definition at line 1456 of file editutil.php.
elinkEncode | ( | & | $doc, |
$attrik, | |||
$link, | |||
$index, | |||
& | $ititle = "" , |
||
& | $isymbol = "" |
||
) |
getHtmlInput | ( | & | $doc, |
& | $oattr, | ||
$value, | |||
$index = "" , |
|||
$jsevent = "" , |
|||
$notd = false |
|||
) |
Compose html code to insert input
Doc | &$doc | document to edit |
DocAttribute | &$attr | attribute to edit |
string | $value | value of the attribute |
string | $index | in case of array : row of the array |
string | $jsevent | add an javascript callback on input (like onblur or onmouseover) |
string | $notd | not add cells in html input generated (by default inputs are in arrays) |
Definition at line 32 of file editutil.php.
getLayAdoc | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for inline document (not virtual)
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1169 of file editutil.php.
getLayArray | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$row = - 1 |
|||
) |
getLayDate | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for date attribute
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1222 of file editutil.php.
getLayDocOption | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for option attributes
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1373 of file editutil.php.
getLayIdoc | ( | & | $doc, |
& | $oattr, | ||
$attridk, | |||
$attrin, | |||
$value, | |||
$zone = "" |
|||
) |
generate HTML for idoc attribute
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
Definition at line 1435 of file editutil.php.
getLayMultiDoc | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for multiple docid
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1187 of file editutil.php.
getLayOptions | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for enum attributes
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1253 of file editutil.php.
getLayTextOptions | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$value, | |||
$aname, | |||
$index | |||
) |
generate HTML for text attributes with help function
Layout | $lay | template of html input |
Doc | $doc | current document in edition |
DocAttribute | $oattr | current attribute for input |
string | $value | value of the attribute to display (generaly the value comes from current document) |
string | $aname | input HTML name (generaly it is '_'+$oattr->id) |
int | $index | current row number if it is in array ("" if it is not in array) |
Definition at line 1398 of file editutil.php.
getZoneLayArray | ( | & | $lay, |
& | $doc, | ||
& | $oattr, | ||
$zone | |||
) |
rowattrReplace | ( | & | $doc, |
$s, | |||
$index, | |||
& | $defval = null |
||
) |
← centre documentaire |
|