dev-master
9999999-devSuper simple database document for Wordpress
BSD-3-Clause
The Requires
- php >=5.3.0
by Roman Ožana
v0.0.1
0.0.1.0Super simple database document for Wordpress
BSD-3-Clause
The Requires
- php >=5.3.0
by Roman Ožana
Wallogit.com
2017 © Pedro Peláez
Super simple database document for Wordpress
Super simple database document for Wordpress, (*1)
class Something extends \om\WpDocument {
public $propertyone = true;
/** @var bool */
public $propertytwo = 'default value';
public function __construct() {
$this->currency = 'CZK'; // TODO from options
}
}
Simplify from id creation and save updates, (*2)
$something = Something::fromId(1); $something->propertyone = fasle; $something->propertytwo = 'add something'; $something->save(); // that's all
Super simple database document for Wordpress
BSD-3-Clause
Super simple database document for Wordpress
BSD-3-Clause