Classes/Netlogix/Crud/Domain/Service/DataTransferObjectFactory.php
public function getDataTransferObject($object) {
		if ($object === NULL) {
			return NULL;
		}
		$identifier = $this->persistenceManager->getIdentifierByObject($object);
		$dto = $this->propertyMapper->convert($identifier, $this->getDataTransferObjectName($object));
		return $dto;
	}
public function getDataTransferObject($object) {
		if ($object === NULL) {
			return NULL;
		}
		$identifier = $this->persistenceManager->getIdentifierByObject($object);
		$dto = $this->propertyMapper->convert($identifier, $this->getDataTransferObjectName($object));
		return $dto;
	}
public function getDataTransferObject ( $ object ) { if ( $ object === NULL ) { return NULL ; } $ identifier = $ this -> persistenceManager -> getIdentifierByObject ( $ object ) ; $ dto = $ this -> propertyMapper -> convert ( $ identifier , $ this -> getDataTransferObjectName ( $ object ) ) ; return $ dto ; }
Returns a DataTransferObject for the given object name.

@param mixed $object
@return \Netlogix\Crud\Domain\Model\DataTransfer\AbstractDataTransferObject
Returns a DataTransferObject for the given object name .