Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 3639
Línea 88... Línea 88...
88
        $select->where->equalTo('type', $type);
88
        $select->where->equalTo('type', $type);
89
        $select->limit(1);
89
        $select->limit(1);
Línea 90... Línea 90...
90
        
90
        
91
        return $this->executeFetchAllObject($select, $prototype);
91
        return $this->executeFetchAllObject($select, $prototype);
-
 
92
    }
-
 
93
 
-
 
94
    
-
 
95
    /**
-
 
96
     *
-
 
97
 
-
 
98
     * @return  PushTemplate[]
-
 
99
     */
-
 
100
    public function fetchAllDefault()
-
 
101
    {
-
 
102
        $prototype = new PushTemplate();
-
 
103
        $select = $this->sql->select(self::_TABLE);
-
 
104
        $select->where->isNull('push_template_default_id');
-
 
105
        $select->limit(1);
-
 
106
        
-
 
107
        return $this->executeFetchAllObject($select, $prototype);
-
 
108
    }
-
 
109
    
-
 
110
    
Línea 92... Línea 111...
92
    }
111
    
93
    
112
    
94
    /**
113
    /**
95
     *
114
     *