Lines Matching refs:source
59 list($source, $flagStr) = explode('#', $match, 2);
124 $source,
139 $source,
160 $content = static::readSource($source);
172 if (static::isLocalFile($source) || $hasRelativeRange) {
380 * @param string $source URL or media id
383 static function readSource($source) { argument
384 if (static::isLocalFile($source)) {
385 $path = mediaFN($source);
388 $error = 'could not read media file ' . hsc($source) . '. ';
394 if (!$http->get($source)) {
395 $error = 'could not get ' . hsc($source) . ', HTTP status ' . $http->status . '. ';
405 static function isLocalFile($source) { argument
408 return !preg_match('#^https?://#i', $source);