Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->limit = 100;
     $this->filter = array('sitio' => SITESLUG, 'instant_article' => true, 'estado' => 'publicado');
     $this->fields = array("_id");
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public function __construct($tipo)
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'tipo' => $tipo);
     $this->fields = array("media", "estado");
     $this->limit = 1;
     $this->fields = array();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
 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();
 }
Ejemplo n.º 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');
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('_id' => SITESLUG);
     $this->fields = array();
     $this->sort = array();
     $this->limit = 100;
     $this->fields = array();
 }
Ejemplo n.º 10
0
 public function __construct()
 {
     parent::__construct();
     $this->limit = 50;
     $this->fields = array();
     $this->filter = array();
     $this->sort = array();
     $this->limit = false;
 }
Ejemplo n.º 11
0
 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;
 }
Ejemplo n.º 12
0
 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");
 }
Ejemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     $this->limit = 1;
     $this->fields = array();
 }