Differential D19098 Diff 45778 src/applications/phriction/conduit/PhrictionHistoryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/conduit/PhrictionHistoryConduitAPIMethod.php
<?php | <?php | ||||
final class PhrictionHistoryConduitAPIMethod extends PhrictionConduitAPIMethod { | final class PhrictionHistoryConduitAPIMethod extends PhrictionConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'phriction.history'; | return 'phriction.history'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Retrieve history about a Phriction document.'); | return pht('Retrieve history about a Phriction document.'); | ||||
} | } | ||||
public function getMethodStatus() { | |||||
return self::METHOD_STATUS_FROZEN; | |||||
} | |||||
public function getMethodStatusDescription() { | |||||
return pht( | |||||
'This method is frozen and will eventually be deprecated. New code '. | |||||
'should use "phriction.content.search" instead.'); | |||||
} | |||||
protected function defineParamTypes() { | protected function defineParamTypes() { | ||||
return array( | return array( | ||||
'slug' => 'required string', | 'slug' => 'required string', | ||||
); | ); | ||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'nonempty list'; | return 'nonempty list'; | ||||
Show All 33 Lines |