src/DcGeneral/Data/Model.php
protected function getPropertyNames()
    {
        $propertyNames = array('id', 'pid', 'tstamp', 'sorting');

        if ($this->getItem()->getMetaModel()->hasVariants()) {
            $propertyNames[] = 'varbase';
            $propertyNames[] = 'vargroup';
        }

        return array_merge($propertyNames, array_keys($this->getItem()->getMetaModel()->getAttributes()));
    }
protected function getPropertyNames()
    {
        $propertyNames = array('id', 'pid', 'tstamp', 'sorting');

        if ($this->getItem()->getMetaModel()->hasVariants()) {
            $propertyNames[] = 'varbase';
            $propertyNames[] = 'vargroup';
        }

        return array_merge($propertyNames, array_keys($this->getItem()->getMetaModel()->getAttributes()));
    }
protected function getPropertyNames ( ) { $ propertyNames = array ( 'id' , 'pid' , 'tstamp' , 'sorting' ) ; if ( $ this -> getItem ( ) -> getMetaModel ( ) -> hasVariants ( ) ) { $ propertyNames [ ] = 'varbase' ; $ propertyNames [ ] = 'vargroup' ; } return array_merge ( $ propertyNames , array_keys ( $ this -> getItem ( ) -> getMetaModel ( ) -> getAttributes ( ) ) ) ; }
Return the names of all properties stored within this model.

@return string[]
Return the names of all properties stored within this model .