public function getModel()
    {
        $name = $this->getShortName();
        $name = str_replace("Entity", "", $name);

        return CustomPostType::factory($name);
    }
public function getModel()
    {
        $name = $this->getShortName();
        $name = str_replace("Entity", "", $name);

        return CustomPostType::factory($name);
    }
public function getModel ( ) { $ name = $ this -> getShortName ( ) ; $ name = str_replace ( "Entity" , "" , $ name ) ; return CustomPostType :: factory ( $ name ) ; }
Returns the accompanying Model of this entity.
@return Strata\Model
Returns the accompanying Model of this entity .