Development

Changeset 27179 for plugins/daYamlEditorPlugin

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
01/26/10 11:28:19 (3 years ago)
Author:
dalexandre
Message:

Ease the form extend process

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/daYamlEditorPlugin/trunk/modules/daYamlEditor/lib/BasedaYamlEditorActions.class.php

    r26564 r27179  
    1010{ 
    1111  /** 
    12    * Index action only handle and save a form 
     12   * Index action, override to use your own daYamlEditor forms 
    1313   * @param sfWebRequest $request 
    1414   */ 
     
    1616  { 
    1717    $this->form = new daYamlEditorForm(); 
     18    $this->processForm($request); 
     19  } 
    1820 
     21  /** 
     22   * Process and save the form 
     23   * @param sfWebRequest $request 
     24   */ 
     25  public function processForm(sfWebRequest $request) 
     26  { 
    1927    if ($request->isMethod('post')) 
    2028    {