Contents contributed and discussions participated by Fernando Vega
Doctrine NestedSet - 0 views
-
$treeObject = Doctrine_Core::getTable('Category')->getTree(); $rootColumnName = $treeObject->getAttribute('rootColumnName'); foreach ($treeObject->fetchRoots() as $root) { $options = array( 'root_id' => $root->$rootColumnName ); foreach($treeObject->fetchTree($options) as $node) { echo str_repeat(' ', $node['level']) . $node['name'] . "\n"; } }
symfony framework forum: symfony 1.3 and 1.4 => is there anyone can tell me how to use ... - 0 views
-
in the form $this->widgetSchema['login_id'] = new sfWidgetFormJQueryAutocompleter(array( 'url' => '/ajax/getUser', )); and in the action of executeGetUser $this->getResponse()->setContentType('application/json'); $users=Doctrine::getTable('user')->getLoginIDList(); return $this->renderText(json_encode($users)); And in the userTable which inside Doctrine $q=Doctrine_Query::create()->select('login_id')->from('user')- >execute(); foreach($q as $row){ $login_id[$row->login_id]=$row->login_id; } return $login_id; hope this help =]
MarcGrabanski.com - 1 views
Mi cuaderno de trabajo: Git: El fichero .gitignore - 0 views
-
$ cat .gitignore*.[oa] # Ignoramos todos los archivos terminados en o o en a*~ # Ignoramos todos los archivos terminados en ~/TODO # Ignoramos la carpeta TODO. Si existe un subdirectorio llamado TODO no se ignorabuild/ # Ignoramos todos los ficheros del directorio build/doc/*.txt # Ignoramos todos los ficheros terminados en txt del directorio doc
Effects - jQuery API - 0 views
OpenLayers: Home - 1 views
bMap - The blocsoft.com jQuery Plugin - 0 views
Open source web development resources - 0 views
EGit - 1 views
Uploaded docx files turning into zip - Stack Overflow - 0 views
-
$this->validatorSchema['file_name'] = new sfValidatorFile(array('required' => true,'path' => sfConfig::get('sf_upload_dir').DIRECTORY_SEPARATOR.sfConfig::get('app_dir_file_sharing').DIRECTORY_SEPARATOR,'mime_type_guessers' => array('guessFromFileinfo'),'mime_types' => array('application/msword', 'application/vnd.ms-word', 'application/msword', 'application/msword; charset=binary')), array( 'invalid' => 'Invalid file.', 'required' => 'Select a file to upload.', 'mime_types' => 'The file must be a supported type.'));
Geoinformación - 1 views
‹ Previous
21 - 40 of 42
Next ›
Showing 20▼ items per page