Skip to main content

Home/ foograde/ Contents contributed and discussions participated by federico balderas

Contents contributed and discussions participated by federico balderas

Fernando Vega

Establecer filtros en accion de forma manual, $this->setFilters() - 1 views

started by Fernando Vega on 17 Feb 11 no follow-up yet
federico balderas

Symfony - Delete and reload all database records for each test - Stack Overflow - 0 views

  •  
    "$doctrine = new sfDoctrineDropDbTask($configuration->getEventDispatcher(), new sfAnsiColorFormatter()); $doctrine->run(array(), array("--no-confirmation","--env=test")); $doctrine = new sfDoctrineBuildDbTask($configuration->getEventDispatcher(), new sfAnsiColorFormatter()); $doctrine->run(array(), array("--env=test")); $doctrine = new sfDoctrineInsertSqlTask($configuration->getEventDispatcher(), new sfAnsiColorFormatter()); $doctrine->run(array(), array("--env=test"));"
federico balderas

Symfony - Doctrine - Saving Many-To-Many (M:M) relationships | Me Like Dev - 0 views

  •  
    "01 Author: 02 tableName: author 03 columns: 04 ... 05 relations: 06 Book: 07 class: Book 08 refClass: LinkingAuthorBook #This will allow you to reference Book rows from an Author object 09 local: author_id #Local value refers to the current object, in this case Author 10 foreign: book_id #Foreign value refers to the object you wish to link to from Author, in this case Book 11 Book: 12 tableName: book 13 columns: 14 ... 15 relations: 16 Author: 17 class: Author 18 refClass: LinkingAuthorBook #This will allow you to reference Author rows from a Book object 19 local: book_id #Local value refers to the current object, in this case Author 20 foreign: author_id #Foreign value refers to the object you wish to link to from Book, in this case Author"
federico balderas

Redo The Web » Comparing Propel, Doctrine and sfPropelFinder - 0 views

  •  
    "Retrieving an article by its primary key // Propel $article = ArticlePeer::retrieveByPk(123); // Doctrine $article = Doctrine::getTable('Article')->find(123); // sfPropelFinder $article = sfPropelFinder::from('Article')->findPk(123);"
  •  
    Comparacion de Propel y Doctrine
federico balderas

PHP: rmdir - Manual - 0 views

  •  
    "Here's another version of the recursive directory removal. This version requires PHP 5, and returns TRUE on success or FALSE on failure. "
  •  
    borra una carpeta del servidor con todo y sus subcarpetas y archivos
federico balderas

PHP: copy - Manual - 0 views

  •  
    "Here's a simple recursive function to copy entire directories Note to do your own check to make sure the directory exists that you first call it on. "
  •  
    mover carpeta con todos sus archivos en php
1 - 8 of 8
Showing 20 items per page