eZ\Publish\Core\Persistence\Legacy\Content\Type\Handler::load PHP Method

load() public method

Note: This method is responsible of having the Field Definitions of the loaded ContentType sorted by placement.
public load ( integer $contentTypeId, integer $status = Type::STATUS_DEFINED ) : eZ\Publish\SPI\Persistence\Content\Type
$contentTypeId integer
$status integer
return eZ\Publish\SPI\Persistence\Content\Type
    public function load($contentTypeId, $status = Type::STATUS_DEFINED)
    {
        return $this->loadFromRows($this->contentTypeGateway->loadTypeData($contentTypeId, $status), $contentTypeId, $status);
    }