Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML <?php class widget { public static function paste( $className , $functionName , $parameters = null) { $controllerName = $className . '_Controller' ; $controller = new $controllerName ; $controller -> $functionName ( $parameters )->render( true ); } } ?>
Copy Source | Copy HTML
- public function widget_example ()
- {
- return View :: factory ( '_example.php' , array ( 'var' => 'Hello world!' ));
- }
Copy Source | Copy HTML
- <? php widget :: paste ( 'Index' , 'widget_example' ) ?>
Copy Source | Copy HTML
- <? php View :: factory ( 'template' ) -> render () ?>
Source: https://habr.com/ru/post/55611/
All Articles