protected function _attrEventBeforeInsert(&$attributes)
    {
        $this->_formatDate(static::CREATED_AT, $attributes);

        // Trigger UPDATED_AT
        if ($this->createdWithUpdated) {
            
            $this->_formatDate(static::UPDATED_AT, $attributes);
        }

        return $attributes;
    }
protected function _attrEventBeforeInsert(&$attributes)
    {
        $this->_formatDate(static::CREATED_AT, $attributes);

        // Trigger UPDATED_AT
        if ($this->createdWithUpdated) {
            
            $this->_formatDate(static::UPDATED_AT, $attributes);
        }

        return $attributes;
    }
protected function _attrEventBeforeInsert ( & $ attributes ) { $ this -> _formatDate ( static :: CREATED_AT , $ attributes ) ; // Trigger UPDATED_AT if ( $ this -> createdWithUpdated ) { $ this -> _formatDate ( static :: UPDATED_AT , $ attributes ) ; } return $ attributes ; }
Attributes handle function for each Insert

@param array $attributes
@return array Addon $attributes of pointer
Attributes handle function for each Insert