コード例 #1
0
ファイル: ezscheduledscript.php プロジェクト: legende91/ez
 static function fetchNotStartedScripts($asObject = true, $offset = false, $limit = false)
 {
     $conditions = array('progress' => array('<', 0));
     $limitation = null;
     if ($offset !== false or $limit !== false) {
         $limitation = array('offset' => $offset, 'length' => $limit);
     }
     return eZPersistentObject::fetchObjectList(eZScheduledScript::definition(), null, $conditions, null, $limitation, $asObject);
 }