예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->limit = 100;
     $this->filter = array('sitio' => SITESLUG, 'instant_article' => true, 'estado' => 'publicado');
     $this->fields = array("_id");
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'estado' => 'publicado', 'tipo' => 'brandcontent');
     $this->fields = array("fecha_publicacion", "bajada", "contenido", "titulo", "imagen_portada", "_id", "categoria");
     $this->limit = 5;
 }
예제 #3
0
파일: Tag.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'estado' => 'publicado');
     $this->fields = array("fecha_publicacion", "bajada", "titulo", "imagen_portada", "_id");
     $this->limit = 100;
 }
예제 #4
0
파일: Player2.php 프로젝트: tresemece/monte
 public function __construct($tipo)
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'tipo' => $tipo);
     $this->fields = array("media", "estado");
     $this->limit = 1;
     $this->fields = array();
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->fields = array("id", "nombre", "foto", "nombrecorto", "url", "partido");
     $this->filter = array();
     $this->sort = array();
     $this->limit = false;
 }
예제 #6
0
파일: Alert2.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'status' => 1, 'publish' => 1);
     $this->fields = array("imagen", "titulo", "cuerpo", "url", "tipo", "data_factory_id");
     $this->limit = 1;
     $this->fields = array();
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('estado' => 1);
     //        $this->fields = array();
     //        $this->limit = 1;
     $this->fields = array('nombre', 'bajada', 'nombre', 'branded', 'branded_url', 'lista');
 }
예제 #8
0
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'status' => (int) 1, 'publish' => (int) 1);
     $this->fields = array("titulo", "contenido");
     $this->limit = 1;
     $this->fields = array();
 }
예제 #9
0
파일: Ptemas.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('_id' => SITESLUG);
     $this->fields = array();
     $this->sort = array();
     $this->limit = 100;
     $this->fields = array();
 }
예제 #10
0
파일: Usuario.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 50;
     $this->fields = array();
     $this->filter = array();
     $this->sort = array();
     $this->limit = false;
 }
예제 #11
0
파일: Resumeh.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 50;
     $this->fields = array("nombre", "bajada", "lista");
     $this->filter = array('sitio' => SITESLUG, 'estado' => 1);
     $this->sort = array();
     $this->limit = false;
 }
예제 #12
0
파일: Seccion.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('categoria_slug' => new \MongoRegex("/^" . SITESLUG . "/"), 'estado' => 'publicado');
     $this->fields = array("fecha_publicacion", "bajada", "titulo", "imagen_portada", "_id");
 }
예제 #13
0
파일: Nota.php 프로젝트: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 1;
     $this->fields = array();
 }