Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/phid/PhabricatorPhamePHIDTypeBlog.php
<?php | <?php | ||||
final class PhabricatorPhamePHIDTypeBlog extends PhabricatorPHIDType { | final class PhabricatorPhamePHIDTypeBlog extends PhabricatorPHIDType { | ||||
const TYPECONST = 'BLOG'; | const TYPECONST = 'BLOG'; | ||||
public function getTypeConstant() { | |||||
return self::TYPECONST; | |||||
} | |||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Phame Blog'); | return pht('Phame Blog'); | ||||
} | } | ||||
public function newObject() { | public function newObject() { | ||||
return new PhameBlog(); | return new PhameBlog(); | ||||
} | } | ||||
Show All 22 Lines |