Library/Bullhorn/FastRest/Api/Models/Base.php
public function initialize() {
        $this->keepSnapshots(true);
        $this->setup(
            array(
                'exceptionOnFailedSave' => true, //Throw an exception instead of returning false from saves
                'notNullValidations' => false //Allow empty strings instead of the wtf new \Phalcon\Db\RawValue('""');
            )
        );
        //Sets to only update the fields that are changed
        $this->useDynamicUpdate(true);
    }
public function initialize() {
        $this->keepSnapshots(true);
        $this->setup(
            array(
                'exceptionOnFailedSave' => true, //Throw an exception instead of returning false from saves
                'notNullValidations' => false //Allow empty strings instead of the wtf new \Phalcon\Db\RawValue('""');
            )
        );
        //Sets to only update the fields that are changed
        $this->useDynamicUpdate(true);
    }
public function initialize ( ) { $ this -> keepSnapshots ( true ) ; $ this -> setup ( array ( 'exceptionOnFailedSave' => true , //Throw an exception instead of returning false from saves 'notNullValidations' => false //Allow empty strings instead of the wtf new \Phalcon\Db\RawValue('""'); ) ) ; //Sets to only update the fields that are changed $ this -> useDynamicUpdate ( true ) ; }
Initializes the class
@return void
Initializes the class