Beispiel #1
0
 public function getUncachedThumbsClipsList($limit, $plugin = 'video')
 {
     $example = new OW_Example();
     $example->andFieldIsNull('thumbUrl');
     $example->andFieldEqual('plugin', $plugin);
     $example->andFieldNotEqual('provider', 'undefined');
     $example->setOrder('`thumbCheckStamp` ASC');
     $example->setLimitClause(0, $limit);
     return $this->findListByExample($example);
 }
Beispiel #2
0
 /**
  * Returns document object for provided controller and action.
  *
  * @param string $controller
  * @param string $action
  * @return BOL_Document
  */
 public function findDocumentByDispatchAttrs($controller, $action)
 {
     $example = new OW_Example();
     $example->andFieldEqual(self::CLAS_S, $controller);
     if ($action === null) {
         $example->andFieldIsNull(self::ACTION);
     } else {
         $example->andFieldEqual(self::ACTION, $action);
     }
     return $this->findObjectByExample($example);
 }
Beispiel #3
0
 public function findUncategorized()
 {
     $example = new OW_Example();
     $example->andFieldIsNull('categoryId');
     return $this->findIdListByExample($example);
 }