controller/behavior/resourceable.php
protected function _getData(KModelEntityInterface $entity)
    {
        $data = array(
            'package'     => $entity->package,
            'name'        => $entity->name,
            'resource_id' => $entity->row,
            'title'       => $entity->title
        );

        if ($uuid = $entity->getActivityObject()->getUuid()) {
            $data['uuid'] = $uuid;
        }

        return $data;
    }
protected function _getData(KModelEntityInterface $entity)
    {
        $data = array(
            'package'     => $entity->package,
            'name'        => $entity->name,
            'resource_id' => $entity->row,
            'title'       => $entity->title
        );

        if ($uuid = $entity->getActivityObject()->getUuid()) {
            $data['uuid'] = $uuid;
        }

        return $data;
    }
protected function _getData ( KModelEntityInterface $ entity ) { $ data = array ( 'package' => $ entity -> package , 'name' => $ entity -> name , 'resource_id' => $ entity -> row , 'title' => $ entity -> title ) ; if ( $ uuid = $ entity -> getActivityObject ( ) -> getUuid ( ) ) { $ data [ 'uuid' ] = $ uuid ; } return $ data ; }
Entity data getter

@param KModelEntityInterface $entity The entity to get data from

@return array The entity data
Entity data getter