public function enabledTimestampFields()
    {
        $fields = [];
        if (is_string($this->createdAtAttribute) && !empty($this->createdAtAttribute)) {
            $fields[] = $this->createdAtAttribute;
        }
        if (is_string($this->updatedAtAttribute) && !empty($this->updatedAtAttribute)) {
            $fields[] = $this->updatedAtAttribute;
        }
        if (is_string($this->expiredAfterAttribute) && !empty($this->expiredAfterAttribute)) {
            $fields[] = $this->expiredAfterAttribute;
        }
        return $fields;
    }
public function enabledTimestampFields()
    {
        $fields = [];
        if (is_string($this->createdAtAttribute) && !empty($this->createdAtAttribute)) {
            $fields[] = $this->createdAtAttribute;
        }
        if (is_string($this->updatedAtAttribute) && !empty($this->updatedAtAttribute)) {
            $fields[] = $this->updatedAtAttribute;
        }
        if (is_string($this->expiredAfterAttribute) && !empty($this->expiredAfterAttribute)) {
            $fields[] = $this->expiredAfterAttribute;
        }
        return $fields;
    }
public function enabledTimestampFields ( ) { $ fields = [ ] ; if ( is_string ( $ this -> createdAtAttribute ) && ! empty ( $ this -> createdAtAttribute ) ) { $ fields [ ] = $ this -> createdAtAttribute ; } if ( is_string ( $ this -> updatedAtAttribute ) && ! empty ( $ this -> updatedAtAttribute ) ) { $ fields [ ] = $ this -> updatedAtAttribute ; } if ( is_string ( $ this -> expiredAfterAttribute ) && ! empty ( $ this -> expiredAfterAttribute ) ) { $ fields [ ] = $ this -> expiredAfterAttribute ; } return $ fields ; }
Get enabled fields associated with timestamp, including `createdAtAttribute`,
`updatedAtAttribute` and `expiredAfterAttribute`.
@return array field list. The keys of array are not specified.
Get enabled fields associated with timestamp including createdAtAttribute updatedAtAttribute and expiredAfterAttribute .