|
fede
|
|
codepad
|
|
|
fede
|
Saved pastes by fede:
Zf_Orm_MethodExpressionParser
----
findByTitleAndDate('Example', date('Y-m-d'))
SELECT * FROM book WHERE title = ? AND date = ?
|
| view (26 lines) |
Zf_Orm
----------------
$manager = Zf_Orm_Manager::getInstance(); // instance of Zf_Orm_Manager
$bookRepository = $manager->getRepository('Book'); // instance of Zf_Orm_Repository
|
| view (12 lines) |
/**
* Return instance of Zf_Domain_Entity.
*
* @return Zf_Domain_Entity
* @throws Zf_DataSource_Dao_Exception
|
| view (13 lines) |
<?php
class Zend_Controller_Dispatcher_Abstract
{
/**
* Retrieve front controller instance
|
| view (31 lines) |