fix function camelcase
This commit is contained in:
parent
089e896552
commit
3c0541f138
4 changed files with 4 additions and 4 deletions
|
@ -274,7 +274,7 @@ class ShowbuilderController extends Zend_Controller_Action
|
|||
$opts = array("myShows" => $my_shows, "showFilter" => $show_filter);
|
||||
$showBuilder = new Application_Model_ShowBuilder($startsDT, $endsDT, $opts);
|
||||
|
||||
$data = $showBuilder->GetItems();
|
||||
$data = $showBuilder->getItems();
|
||||
$this->view->schedule = $data["schedule"];
|
||||
$this->view->instances = $data["showInstances"];
|
||||
$this->view->timestamp = $current_time;
|
||||
|
|
|
@ -511,7 +511,7 @@ SQL;
|
|||
* Returns null if nothing found, else an array of associative
|
||||
* arrays representing each row.
|
||||
*/
|
||||
public static function GetItems($p_startTime, $p_endTime)
|
||||
public static function getItems($p_startTime, $p_endTime)
|
||||
{
|
||||
global $CC_CONFIG;
|
||||
|
||||
|
|
|
@ -386,7 +386,7 @@ class Application_Model_ShowBuilder
|
|||
return $outdated;
|
||||
}
|
||||
|
||||
public function GetItems()
|
||||
public function getItems()
|
||||
{
|
||||
$current_id = -1;
|
||||
$display_items = array();
|
||||
|
|
|
@ -104,7 +104,7 @@ class SchedulerTests extends PHPUnit_TestCase {
|
|||
$groupId1 = $i1->add('2008-01-01 12:00:00.000', $this->storedFile->getId());
|
||||
$i2 = new Application_Model_ScheduleGroup();
|
||||
$i2->addAfter($groupId1, $this->storedFile->getId());
|
||||
$items = Application_Model_Schedule::GetItems("2008-01-01", "2008-01-02");
|
||||
$items = Application_Model_Schedule::getItems("2008-01-01", "2008-01-02");
|
||||
if (count($items) != 2) {
|
||||
$this->fail("Wrong number of items returned.");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue