Example #1
0
 /**
  * @param int $id
  * @param null $values
  */
 function __construct($id, $values = null)
 {
     $tableDescriptor = new TableDescriptor([TABLE_NAME => "pp_simple_table", TABLE_ID => "table_id"]);
     parent::__construct($tableDescriptor, $id, $values);
 }
Example #2
0
 /**
  * Session constructor.
  * @param int $id
  * @param null $values
  */
 function __construct($id, $values = null)
 {
     $tableDescriptor = new TableDescriptor([TABLE_NAME => self::$sessionName, TABLE_ID => "id"]);
     parent::__construct($tableDescriptor, $id, $values);
 }