Doc
This commit is contained in:
parent
21f1dcc3de
commit
48a423d5e3
@ -9068,7 +9068,7 @@ abstract class CommonObject
|
|||||||
/**
|
/**
|
||||||
* Function to concat keys of fields
|
* Function to concat keys of fields
|
||||||
*
|
*
|
||||||
* @param string $alias String of alias of table for fields. For example 't'.
|
* @param string $alias String of alias of table for fields. For example 't'. It is recommended to use '' and set alias into fields defintion.
|
||||||
* @return string list of alias fields
|
* @return string list of alias fields
|
||||||
*/
|
*/
|
||||||
public function getFieldList($alias = '')
|
public function getFieldList($alias = '')
|
||||||
|
|||||||
@ -206,6 +206,7 @@ Valid=Valid
|
|||||||
Approve=Approve
|
Approve=Approve
|
||||||
Disapprove=Disapprove
|
Disapprove=Disapprove
|
||||||
ReOpen=Re-Open
|
ReOpen=Re-Open
|
||||||
|
OpenVerb=Open
|
||||||
Upload=Upload
|
Upload=Upload
|
||||||
ToLink=Link
|
ToLink=Link
|
||||||
Select=Select
|
Select=Select
|
||||||
|
|||||||
@ -110,7 +110,7 @@ class MyObject extends CommonObject
|
|||||||
|
|
||||||
// BEGIN MODULEBUILDER PROPERTIES
|
// BEGIN MODULEBUILDER PROPERTIES
|
||||||
/**
|
/**
|
||||||
* @var array Array with all fields and their property. Do not use it as a static var. It may be modified by constructor.
|
* @var array Array with all fields into database and their property. Do not use it as a static var. It may be modified by constructor.
|
||||||
*/
|
*/
|
||||||
public $fields = array(
|
public $fields = array(
|
||||||
'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>1, 'visible'=>-2, 'noteditable'=>1, 'notnull'=> 1, 'index'=>1, 'position'=>1, 'comment'=>'Id', 'css'=>'left'),
|
'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>1, 'visible'=>-2, 'noteditable'=>1, 'notnull'=> 1, 'index'=>1, 'position'=>1, 'comment'=>'Id', 'css'=>'left'),
|
||||||
@ -736,7 +736,7 @@ class MyObject extends CommonObject
|
|||||||
public function reopen($user, $notrigger = 0)
|
public function reopen($user, $notrigger = 0)
|
||||||
{
|
{
|
||||||
// Protection
|
// Protection
|
||||||
if ($this->status != self::STATUS_CANCELED) {
|
if ($this->status == self::STATUS_VALIDATED) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user