Pimcore\Model\Object\AbstractObject::getFullPath PHP Method

getFullPath() public method

public getFullPath ( ) : string
return string
    public function getFullPath()
    {
        $path = $this->getPath() . $this->getKey();
        return $path;
    }

Usage Example

Example #1
0
 /**
  * @see Object\ClassDefinition\Data::getDataForEditmode
  * @param Asset|Document|Object\AbstractObject $data
  * @param null|Model\Object\AbstractObject $object
  * @return array
  */
 public function getDataForEditmode($data, $object = null)
 {
     if ($data instanceof Element\ElementInterface) {
         $r = array("id" => $data->getId(), "path" => $data->getFullPath(), "subtype" => $data->getType(), "type" => Element\Service::getElementType($data));
         return $r;
     }
     return;
 }
All Usage Examples Of Pimcore\Model\Object\AbstractObject::getFullPath