Пример #1
0
 public function new_history($old_value)
 {
     if (!$this->__records_id) {
         trigger_error("new_history may be called only for saved records", E_USER_ERROR);
     }
     return $this->__recordset->new_record_history($this->__records_id, $old_value);
 }
Пример #2
0
 /**
  * Sets linked recordset to select records from.
  * @param string|RBO_Recordset $linked_recordset Recordset name or object
  * @return RBO_Field_Select
  */
 public function from($linked_recordset)
 {
     $this->linked_recordset = $linked_recordset instanceof RBO_Recordset ? $linked_recordset->table_name() : $linked_recordset;
     return $this;
 }
Пример #3
0
 public function __construct($tab)
 {
     $this->tab = $tab;
     parent::__construct();
 }