public function getModelRuntime(core_kernel_classes_Resource $item)
    {
        $returnValue = null;

        if (!is_null($item)) {
            $itemModel = $item->getOnePropertyValue($this->itemModelProperty);
            if (!is_null($itemModel)) {
                $returnValue = $itemModel->getOnePropertyValue($this->getProperty(taoItems_models_classes_itemModel::CLASS_URI_RUNTIME));
            }
        }

        return $returnValue;
    }
public function getModelRuntime(core_kernel_classes_Resource $item)
    {
        $returnValue = null;

        if (!is_null($item)) {
            $itemModel = $item->getOnePropertyValue($this->itemModelProperty);
            if (!is_null($itemModel)) {
                $returnValue = $itemModel->getOnePropertyValue($this->getProperty(taoItems_models_classes_itemModel::CLASS_URI_RUNTIME));
            }
        }

        return $returnValue;
    }
public function getModelRuntime ( core_kernel_classes_Resource $ item ) { $ returnValue = null ; if ( ! is_null ( $ item ) ) { $ itemModel = $ item -> getOnePropertyValue ( $ this -> itemModelProperty ) ; if ( ! is_null ( $ itemModel ) ) { $ returnValue = $ itemModel -> getOnePropertyValue ( $ this -> getProperty ( taoItems_models_classes_itemModel :: CLASS_URI_RUNTIME ) ) ; } } return $ returnValue ; }
Get the runtime associated to the item model.

@access public
@author Joel Bout, <joel@taotesting.com>
@param  Resource item
@return core_kernel_classes_Resource
Get the runtime associated to the item model .