Doc
This commit is contained in:
parent
21f1dcc3de
commit
48a423d5e3
@ -9068,7 +9068,7 @@ abstract class CommonObject
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public function getFieldList($alias = '')
|
||||
|
||||
@ -206,6 +206,7 @@ Valid=Valid
|
||||
Approve=Approve
|
||||
Disapprove=Disapprove
|
||||
ReOpen=Re-Open
|
||||
OpenVerb=Open
|
||||
Upload=Upload
|
||||
ToLink=Link
|
||||
Select=Select
|
||||
|
||||
@ -110,7 +110,7 @@ class MyObject extends CommonObject
|
||||
|
||||
// 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(
|
||||
'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)
|
||||
{
|
||||
// Protection
|
||||
if ($this->status != self::STATUS_CANCELED) {
|
||||
if ($this->status == self::STATUS_VALIDATED) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user