Lines Matching refs:method
821 $method = strtolower($params['method']);
822 if ($method === 'auth.expiresession' ||
823 $method === 'auth.revokeauthorization') {
834 * @param string $method The http method (default 'GET')
838 protected function isVideoPost($path, $method = 'GET') { argument
839 if ($method == 'POST' && preg_match("/^(\/)(.+)(\/)(videos)$/", $path)) {
849 * @param string $method The http method (default 'GET')
855 protected function _graph($path, $method = 'GET', $params = array()) { argument
856 if (is_array($method) && empty($params)) {
857 $params = $method;
858 $method = 'GET';
860 $params['method'] = $method; // method override as we always do a POST
862 if ($this->isVideoPost($path, $method)) {
1042 protected function getApiUrl($method) { argument
1105 if (isset($READ_ONLY_CALLS[strtolower($method)])) {
1107 } else if (strtolower($method) == 'video.upload') {