[ create a new paste ] login | about

fede

Name: Federico
Email:
Site/Blog: http://blog.fedecarg.com/
Location:
Default language:
Favorite languages:
About:

Saved pastes by fede:

PHP, pasted on Mar 19:
1
2
3
4
5
<?php
// Entity
class Element 
{
    private $id;
...
view (86 lines)
PHP, pasted on Mar 19:
1
2
3
4
5
<?php
// Entity
class Book 
{
    private $id;
...
view (79 lines)
PHP, pasted on Mar 19:
1
2
3
4
5
<?php
// Entity
class Book 
{
    private $id;
...
view (46 lines)
Plain Text, pasted on Mar 16:
1
2
3
4
5
Zf_Orm_MethodExpressionParser
----

findByTitleAndDate('Example', date('Y-m-d'))
SELECT * FROM book WHERE title = ? AND date = ?
...
view (26 lines)
PHP, pasted on Mar 7:
1
2
3
4
5
Zf_Orm
----------------

$manager = Zf_Orm_Manager::getInstance();           // instance of Zf_Orm_Manager
$bookRepository = $manager->getRepository('Book');  // instance of Zf_Orm_Repository
...
view (12 lines)
PHP, pasted on Mar 2:
1
2
3
4
<?php
class Book {
    private $id;
    private $title;
...
view (17 lines, 20 lines of output)
Plain Text, pasted on Jan 2:
1
2
3
4
5
Domain class
---------------------

File: /application/domain/Book.php

...
view (90 lines, 2 comments)
Plain Text, pasted on Jan 1:
1
2
3
4
5
GORM (Groovy)
------------

class Book {
   static belongsTo = Author
...
view (58 lines, 1 comment)
Plain Text, pasted on Nov 27:
1
2
3
4
5
    /**
     * Return instance of Zf_Domain_Entity.
     *
     * @return Zf_Domain_Entity
     * @throws Zf_DataSource_Dao_Exception
...
view (13 lines)
PHP, pasted on May 29:
1
2
3
4
5
<?php
class Zend_Controller_Dispatcher_Abstract
{
    /**
     * Retrieve front controller instance
...
view (31 lines)
PHP, pasted on May 18:
1
2
3
4
5
<?php
class Project_Model_UserProfile_Repository extends Zf_Domain_Repository
{
    /* @var Project_Dao_Db_UserProfile */
    private $userProfileDao;
...
view (42 lines)