~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Widget/Ticker.php

  • Committer: GitHub
  • Author(s): Dan Garner
  • Date: 2018-01-21 11:06:43 UTC
  • mfrom: (602.3.13)
  • Revision ID: git-v1:7900a816ad2b730b23d7b671b5a572f3b87da65f
Merge pull request #304 from dasgarner/feature/tempel-dockerfile

PHP7 web container built from CMS repo

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
            if (!v::numeric()->validate($this->getOption('numItems', 0)))
173
173
                throw new \InvalidArgumentException(__('The value in Number of Items must be numeric.'));
174
174
 
175
 
            if (!v::int()->min(0)->validate($this->getOption('updateInterval')))
 
175
            if (!v::intType()->min(0)->validate($this->getOption('updateInterval')))
176
176
                throw new \InvalidArgumentException(__('Update Interval must be greater than or equal to 0'));
177
177
        }
178
178
    }
849
849
            }
850
850
        }
851
851
 
852
 
        $this->getLog()->debug(var_export($document, true));
 
852
        //$this->getLog()->debug(var_export($document, true));
853
853
 
854
854
        // Cache HIT or we've requested
855
855
        // Load the feed XML document into a feed parser