/** * @see ApiBase::getAllowedParams */ protected function getAllowedParams() { return array_merge(array('claim' => array(self::PARAM_TYPE => 'string', self::PARAM_REQUIRED => true), 'value' => array(self::PARAM_TYPE => 'text', self::PARAM_REQUIRED => false), 'snaktype' => array(self::PARAM_TYPE => array('value', 'novalue', 'somevalue'), self::PARAM_REQUIRED => true)), parent::getAllowedParams()); }
/** * @see ApiBase::getAllowedParams */ protected function getAllowedParams() { return array_merge(array('claim' => array(self::PARAM_TYPE => 'string', self::PARAM_ISMULTI => true, self::PARAM_REQUIRED => true)), parent::getAllowedParams()); }
/** * @see ApiBase::getAllowedParams */ protected function getAllowedParams() { return array_merge(array('claim' => array(self::PARAM_TYPE => 'text', self::PARAM_REQUIRED => true), 'index' => array(self::PARAM_TYPE => 'integer')), parent::getAllowedParams()); }
/** * @see ApiBase::getAllowedParams */ protected function getAllowedParams() { return array_merge(array('statement' => array(self::PARAM_TYPE => 'string', self::PARAM_REQUIRED => true), 'snaks' => array(self::PARAM_TYPE => 'text', self::PARAM_REQUIRED => true), 'snaks-order' => array(self::PARAM_TYPE => 'string'), 'reference' => array(self::PARAM_TYPE => 'string'), 'index' => array(self::PARAM_TYPE => 'integer')), parent::getAllowedParams()); }