/** * Constructor. */ public function __construct() { $this->table_name = 'ab_staff_service'; $this->schema = array('id' => array(), 'staff_id' => array('format' => '%d'), 'service_id' => array('format' => '%d'), 'price' => array('format' => '%.2f', 'default' => '0'), 'capacity' => array('format' => '%d', 'default' => '1')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_category'; $this->schema = array('id' => array(), 'name' => array('format' => '%s')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_staff_schedule_item'; $this->schema = array('id' => array(), 'staff_id' => array('format' => '%d'), 'day_index' => array('format' => '%d'), 'start_time' => array('format' => '%s'), 'end_time' => array('format' => '%s')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_customer'; $this->schema = array('id' => array(), 'name' => array('format' => '%s', 'default' => ''), 'phone' => array('format' => '%s', 'default' => ''), 'email' => array('format' => '%s', 'default' => ''), 'notes' => array('format' => '%s', 'default' => '')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_appointment'; $this->schema = array('id' => array(), 'staff_id' => array('format' => '%d'), 'service_id' => array('format' => '%d'), 'start_date' => array('format' => '%s'), 'end_date' => array('format' => '%s'), 'google_event_id' => array('format' => '%s')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_staff'; $this->schema = array('id' => array(), 'wp_user_id' => array('format' => '%d'), 'full_name' => array('format' => '%s'), 'email' => array('format' => '%s'), 'avatar_path' => array('format' => '%s'), 'avatar_url' => array('format' => '%s'), 'phone' => array('format' => '%s'), 'google_data' => array('format' => '%s'), 'google_calendar_id' => array('format' => '%s')); parent::__construct(); }
/** * Constructor. */ public function __construct() { $this->table_name = 'ab_customer_appointment'; $this->schema = array('id' => array(), 'customer_id' => array('format' => '%d'), 'appointment_id' => array('format' => '%d'), 'notes' => array('format' => '%s'), 'token' => array('format' => '%s')); parent::__construct(); }