public function init()
    {
        $this->idAttribute = '_id';
        $this->idAttributeType = static::$idTypeAutoIncrement;
        if ($this->skipInit) {
            return;
        }
        $this->initEntityEvents();
        parent::init();
    }
public function init()
    {
        $this->idAttribute = '_id';
        $this->idAttributeType = static::$idTypeAutoIncrement;
        if ($this->skipInit) {
            return;
        }
        $this->initEntityEvents();
        parent::init();
    }
public function init ( ) { $ this -> idAttribute = '_id' ; $ this -> idAttributeType = static :: $ idTypeAutoIncrement ; if ( $ this -> skipInit ) { return ; } $ this -> initEntityEvents ( ) ; parent :: init ( ) ; }
Initialize new entity.
Initialize new entity .