Last active
December 15, 2015 09:59
-
-
Save AJ/5242960 to your computer and use it in GitHub Desktop.
Revisions
-
AJ revised this gist
Mar 26, 2013 . 1 changed file with 17 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,22 @@ function __construct() { } function create($location, $filename, $extension) { error_log("AJ::Success!!! Succeeded in reaching the cache class"); die; return new Skimr_DB_Cache(/*$location, $filename, $extension*/); } } class Skimr_DB_Cache extends SimplePie_Cache_DB { . . . public function __construct($location, $name, $type); public function save($data); public function load(); //And so on . . . } -
AJ revised this gist
Mar 26, 2013 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ //Script location: /public/myapp/includes/simplepie/library/SimplePie/Cache/Custom_Cache.php class Custom_Cache extends SimplePie_Cache { function __construct() { error_log("AJ::Success!!! Succeeded in reaching the cache class::Constructor"); } function create($location, $filename, $extension) { error_log("AJ::Success!!! Succeeded in reaching the cache class::create()"); } } -
AJ revised this gist
Mar 26, 2013 . 1 changed file with 2 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,10 @@ //Script location: /public/myapp/includes/utils.php function fetchFeed() { $feed = new SimplePie(); $feed->set_feed_url($feedURL); $feed->handle_content_type(); $feed->force_feed(true); $feed->get_registry()->register('Cache', 'Custom_Cache'); $feed->init(); } -
AJ created this gist
Mar 26, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ function fetchFeed() { $feed = new SimplePie(); $feed->set_feed_url($feedURL); $feed->handle_content_type(); $feed->force_feed(true); $feed->get_registry()->register('Cache', 'Custom_Cache'); $feed->init(); } class Custom_Cache extends SimplePie_Cache { function __construct() { error_log("AJ::Success!!! Succeeded in reaching the cache class::Constructor"); } function create($location, $filename, $extension) { error_log("AJ::Success!!! Succeeded in reaching the cache class::create()"); } }