function __construct() { parent::__construct(); $this->objectName = "users"; $this->postDataMandatoryJSONKeys = array(self::KEY_EMAIL, self::KEY_NICK_NAME, self::KEY_FIRST_NAME, self::KEY_LAST_NAME, self::KEY_PASSWORD); $this->filterKeysMappedToTableColumns = array(self::KEY_EMAIL => self::TABLE_KEY_EMAIL, self::KEY_NICK_NAME => self::TABLE_KEY_NICK_NAME, self::KEY_FIRST_NAME => self::TABLE_KEY_FIRST_NAME, self::KEY_LAST_NAME => self::TABLE_KEY_LAST_NAME); $this->fieldKeysMappedToTableColumns = array(self::KEY_EMAIL => self::TABLE_KEY_EMAIL, self::KEY_NICK_NAME => self::TABLE_KEY_NICK_NAME, self::KEY_FIRST_NAME => self::TABLE_KEY_FIRST_NAME, self::KEY_LAST_NAME => self::TABLE_KEY_LAST_NAME, self::KEY_ID => self::TABLE_KEY_ID, self::KEY_IMAGE => self::TABLE_KEY_IMAGE); }
public function __construct() { parent::__construct(); $this->objectName = "friendships"; $this->fieldKeysMappedToTableColumns = array(self::KEY_FROM_USER => self::TABLE_COLUMN_FROM_USER, self::KEY_TO_USER => self::TABLE_COLUMN_TO_USER, self::KEY_STATE => self::TABLE_COLUMN_STATE, self::KEY_DATE_REQUEST => self::TABLE_COLUMN_DATE_REQUEST, self::KEY_DATE_ACCEPTED => self::TABLE_COLUMN_DATE_ACCEPTED); $this->gcmController = new GCMController(); $this->userController = new UserController(); }
function __construct() { parent::__construct(); $this->objectName = "users"; $this->postDataMandatoryJSONKeys = array(self::KEY_MESSAGE, self::KEY_DATE); $this->filterKeysMappedToTableColumns = array(self::KEY_ID => self::TABLE_KEY_ID, self::KEY_FROM => self::TABLE_KEY_FROM, self::KEY_TO => self::TABLE_KEY_TO, self::KEY_MESSAGE => self::TABLE_KEY_MESSAGE, self::KEY_DATE => self::TABLE_KEY_DATE); $this->fieldKeysMappedToTableColumns = array(self::KEY_ID => self::TABLE_KEY_ID, self::KEY_FROM => self::TABLE_KEY_FROM, self::KEY_TO => self::TABLE_KEY_TO, self::KEY_MESSAGE => self::TABLE_KEY_MESSAGE, self::KEY_DATE => self::TABLE_KEY_DATE); $this->gcmController = new GCMController(); }
function __construct() { parent::__construct(); $this->objectName = "users"; $this->postDataMandatoryJSONKeys = array(self::KEY_SIGN, self::KEY_NAME, self::KEY_DATE, self::KEY_AUTHOR, self::KEY_TAGS); $this->filterKeysMappedToTableColumns = array(); $this->fieldKeysMappedToTableColumns = array(self::KEY_ID => self::TABLE_KEY_ID, self::KEY_SIGN => self::TABLE_KEY_SIGN, self::KEY_NAME => self::TABLE_KEY_NAME, self::KEY_DATE => self::TABLE_KEY_DATE, self::KEY_AUTHOR => self::TABLE_KEY_USER_ID, self::KEY_TAGS => self::KEY_TAGS); }
function __construct() { parent::__construct(); }