Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Controller class to make it 100% compatible with new router sys... #20

Merged
merged 1 commit into from
Apr 20, 2013
Merged

Updating Controller class to make it 100% compatible with new router sys... #20

merged 1 commit into from
Apr 20, 2013

Conversation

nilportugues
Copy link
Contributor

$return->build() and $result->build() replaced by:

    $vars = Router::getControllerVars();
    if( isset( $this->params['controller_method'] ) ) {
        $method = $this->params['controller_method'];
    } else {
        $method = 'build';
    }
    $return = call_user_func_array (array( $this, $method ) , $vars );

…system

$return->build() and $result->build() replaced by:

```php
       	$vars = Router::getControllerVars();
       	if( isset( $this->params['controller_method'] ) ) {
              $method = $this->params['controller_method'];
        } else {
              $method = 'build';
       }
       $return = call_user_func_array (array( $this, $method ) , $vars );
```
alombarte added a commit that referenced this pull request Apr 20, 2013
Updating Controller class to make it 100% compatible with new router sys...
@alombarte alombarte merged commit 4befe4d into sifophp:devel Apr 20, 2013
alombarte added a commit that referenced this pull request May 22, 2013
This reverts commit 4befe4d, reversing
changes made to 5121898.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants