Searched refs:src_url (Results 1 – 4 of 4) sorted by relevance
228 $src_url = $data[0];229 $src_url = $this->mpp->_check_src_url($src_url);230 if (in_array($src_url, $code_error)) {231 throw new Exception($this->mpp->_check_src_url($src_url));241 list($name_host, $name_repo, $name_brch, $name_file) = $this->mpp->_get_names($src_url);244 $raw_url = $this->mpp->_get_raw_url($src_url);248 $repo[$src_url] = 0;251 in_array($src_url, array_keys($repo)) == false) {252 $repo[$src_url] = 2;265 if ($repo[$src_url] == 0) {[all …]
569 * @param (str) $src_url the url to the source code of <file> in the repo580 public function _get_raw_url($src_url) { argument583 $url = substr($src_url, 8); // strip "https://"622 * @param (str) $src_url the url to the source code of <file> in the repo632 public function _get_names($src_url) { argument638 $url = substr($src_url, 8); // strip "https://"972 * @param (str) $src_url the url to the source code of <file> in the repo980 public function _check_src_url($src_url) { argument982 if ((strpos($src_url, "https://bitbucket.org/") === false and983 strpos($src_url, "https://github.com/") === false)[all …]
332 getExtension: function(src_url) { argument333 var ext = src_url.slice(-3); // get .py
45 $src_url=$this->news_feed_url();62 <source url="$src_url"><![CDATA[$src_title]]></source>