/** * Return base parameters * * @return array */ public function getAllFields() { $this->getAll = true; return BaseParameter::page(); }
function testOptionDoesIncludeLocalizationByRequest() { $params = BaseParameter::option(true); $this->assertContains('localizations', $params); }
public function testReturnsCorrectLabel() { $resource = $this->instantiate($this->stub); $this->assertEquals(BaseParameter::page(), $resource->getAllFields()); }
protected function getAllFields() { return BaseParameter::element(); }
protected function getAllFields() { return BaseParameter::optionList(); }
protected function getAllFields() { $this->getAll = true; return BaseParameter::profile(); }
function testProfileBaseParameters() { $this->assertEquals(array('id', 'name', 'global_id', 'version', 'address1', 'address2', 'city', 'zip', 'state', 'country', 'phone', 'fax', 'email', 'max_user', 'max_page', 'is_active', 'created_date', 'type', 'support_hours', 'time_zone'), BaseParameter::profile()); }