Admin_ObjectHelperController::csvObjectData PHP Метод

csvObjectData() защищенный Метод

Flattens object data to an array with key=>value where value is simply a string representation of the value (for objects, hrefs and assets the full path is used)
protected csvObjectData ( AbstractObject $object ) : array
$object Pimcore\Model\Object\AbstractObject
Результат array
    protected function csvObjectData($object)
    {
        $o = [];
        foreach ($object->getClass()->getFieldDefinitions() as $key => $value) {
            //exclude remote owner fields
            if (!($value instanceof Object\ClassDefinition\Data\Relations\AbstractRelations and $value->isRemoteOwner())) {
                $o[$key] = $value->getForCsvExport($object);
            }
        }
        $o["id (system)"] = $object->getId();
        $o["key (system)"] = $object->getKey();
        $o["fullpath (system)"] = $object->getRealFullPath();
        $o["published (system)"] = $object->isPublished();
        $o["type (system)"] = $object->getType();
        return $o;
    }