Changeset 476 for trunk/ext

Show
Ignore:
Timestamp:
06/29/07 18:09:54 (2 years ago)
Author:
laurentj
Message:

worked on ticket #132 : renamed jIPlugin interface to jICoordPlugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ext/jelix/jelix_interfaces.c

    r387 r476  
    2222 
    2323 
    24 PHPAPI zend_class_entry * jelix_ce_jIPlugin; 
     24PHPAPI zend_class_entry * jelix_ce_jICoordPlugin; 
    2525PHPAPI zend_class_entry * jelix_ce_jIAuthDriver; 
    2626PHPAPI zend_class_entry * jelix_ce_jIUrlEngine; 
     
    3131 
    3232 
    33 // declaration des arguments aux méthodes 
    34  
    35 /* ------------------------------------- 
    36 interface jIPlugin{ 
     33 
     34/* ------------------------------------- 
     35interface jICoordPlugin{ 
    3736    public function beforeAction($param); 
    3837    public function beforeOutput(); 
     
    4241 
    4342static 
    44 ZEND_BEGIN_ARG_INFO_EX(arginfo_jIPlugin_beforeAction, 0, 0, 1) 
     43ZEND_BEGIN_ARG_INFO_EX(arginfo_jICoordPlugin_beforeAction, 0, 0, 1) 
    4544        ZEND_ARG_INFO(0, params) 
    4645ZEND_END_ARG_INFO(); 
    4746 
    4847 
    49 zend_function_entry zend_funcs_jIPlugin[] = { 
    50         ZEND_ABSTRACT_ME(jIPlugin, beforeAction, arginfo_jIPlugin_beforeAction) 
    51         ZEND_ABSTRACT_ME(jIPlugin, beforeOutput, NULL) 
    52         ZEND_ABSTRACT_ME(jIPlugin, afterProcess, NULL) 
     48zend_function_entry zend_funcs_jICoordPlugin[] = { 
     49        ZEND_ABSTRACT_ME(jICoordPlugin, beforeAction, arginfo_jICoordPlugin_beforeAction) 
     50        ZEND_ABSTRACT_ME(jICoordPlugin, beforeOutput, NULL) 
     51        ZEND_ABSTRACT_ME(jICoordPlugin, afterProcess, NULL) 
    5352        {NULL, NULL, NULL} 
    5453}; 
     
    232231        zend_class_entry _ce; 
    233232 
    234         JELIX_DECLARE_INTERFACE(jIPlugin) 
     233        JELIX_DECLARE_INTERFACE(jICoordPlugin) 
    235234        JELIX_DECLARE_INTERFACE(jIAuthDriver) 
    236235        JELIX_DECLARE_INTERFACE(jIUrlEngine) 
  • trunk/ext/jelix/jelix_interfaces.c

    r387 r476  
    2222 
    2323 
    24 PHPAPI zend_class_entry * jelix_ce_jIPlugin; 
     24PHPAPI zend_class_entry * jelix_ce_jICoordPlugin; 
    2525PHPAPI zend_class_entry * jelix_ce_jIAuthDriver; 
    2626PHPAPI zend_class_entry * jelix_ce_jIUrlEngine; 
     
    3131 
    3232 
    33 // declaration des arguments aux méthodes 
    34  
    35 /* ------------------------------------- 
    36 interface jIPlugin{ 
     33 
     34/* ------------------------------------- 
     35interface jICoordPlugin{ 
    3736    public function beforeAction($param); 
    3837    public function beforeOutput(); 
     
    4241 
    4342static 
    44 ZEND_BEGIN_ARG_INFO_EX(arginfo_jIPlugin_beforeAction, 0, 0, 1) 
     43ZEND_BEGIN_ARG_INFO_EX(arginfo_jICoordPlugin_beforeAction, 0, 0, 1) 
    4544        ZEND_ARG_INFO(0, params) 
    4645ZEND_END_ARG_INFO(); 
    4746 
    4847 
    49 zend_function_entry zend_funcs_jIPlugin[] = { 
    50         ZEND_ABSTRACT_ME(jIPlugin, beforeAction, arginfo_jIPlugin_beforeAction) 
    51         ZEND_ABSTRACT_ME(jIPlugin, beforeOutput, NULL) 
    52         ZEND_ABSTRACT_ME(jIPlugin, afterProcess, NULL) 
     48zend_function_entry zend_funcs_jICoordPlugin[] = { 
     49        ZEND_ABSTRACT_ME(jICoordPlugin, beforeAction, arginfo_jICoordPlugin_beforeAction) 
     50        ZEND_ABSTRACT_ME(jICoordPlugin, beforeOutput, NULL) 
     51        ZEND_ABSTRACT_ME(jICoordPlugin, afterProcess, NULL) 
    5352        {NULL, NULL, NULL} 
    5453}; 
     
    232231        zend_class_entry _ce; 
    233232 
    234         JELIX_DECLARE_INTERFACE(jIPlugin) 
     233        JELIX_DECLARE_INTERFACE(jICoordPlugin) 
    235234        JELIX_DECLARE_INTERFACE(jIAuthDriver) 
    236235        JELIX_DECLARE_INTERFACE(jIUrlEngine) 
  • trunk/ext/jelix/jelix_interfaces.h

    r383 r476  
    1515 
    1616 
    17 extern PHPAPI zend_class_entry * jelix_ce_jIPlugin; 
     17extern PHPAPI zend_class_entry * jelix_ce_jICoordPlugin; 
    1818extern PHPAPI zend_class_entry * jelix_ce_jIAuthDriver; 
    1919extern PHPAPI zend_class_entry * jelix_ce_jIUrlEngine; 
  • trunk/ext/jelix/jelix_interfaces.h

    r383 r476  
    1515 
    1616 
    17 extern PHPAPI zend_class_entry * jelix_ce_jIPlugin; 
     17extern PHPAPI zend_class_entry * jelix_ce_jICoordPlugin; 
    1818extern PHPAPI zend_class_entry * jelix_ce_jIAuthDriver; 
    1919extern PHPAPI zend_class_entry * jelix_ce_jIUrlEngine; 
  • trunk/ext/jelix/tests/jicoordplugin_001.phpt

    r383 r476  
    11--TEST-- 
    2 Check for jIPlugin interface 
     2Check for jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
    55--FILE-- 
    66<?php  
    7 if(interface_exists('jIPlugin', false)) echo "YES"; else echo "NO"; 
     7if(interface_exists('jICoordPlugin', false)) echo "YES"; else echo "NO"; 
    88?> 
    99--EXPECT-- 
  • trunk/ext/jelix/tests/jicoordplugin_001.phpt

    r383 r476  
    11--TEST-- 
    2 Check for jIPlugin interface 
     2Check for jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
    55--FILE-- 
    66<?php  
    7 if(interface_exists('jIPlugin', false)) echo "YES"; else echo "NO"; 
     7if(interface_exists('jICoordPlugin', false)) echo "YES"; else echo "NO"; 
    88?> 
    99--EXPECT-- 
  • trunk/ext/jelix/tests/jicoordplugin_002.phpt

    r383 r476  
    11--TEST-- 
    2 check reflection of jIPlugin interface 
     2check reflection of jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
    55--FILE-- 
    66<?php  
    7 Reflection::export(new ReflectionClass('jIPlugin')); 
     7Reflection::export(new ReflectionClass('jICoordPlugin')); 
    88?> 
    99--EXPECT-- 
    10 Interface [ <internal:jelix> interface jIPlugin ] { 
     10Interface [ <internal:jelix> interface jICoordPlugin ] { 
    1111 
    1212  - Constants [0] { 
  • trunk/ext/jelix/tests/jicoordplugin_002.phpt

    r383 r476  
    11--TEST-- 
    2 check reflection of jIPlugin interface 
     2check reflection of jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
    55--FILE-- 
    66<?php  
    7 Reflection::export(new ReflectionClass('jIPlugin')); 
     7Reflection::export(new ReflectionClass('jICoordPlugin')); 
    88?> 
    99--EXPECT-- 
    10 Interface [ <internal:jelix> interface jIPlugin ] { 
     10Interface [ <internal:jelix> interface jICoordPlugin ] { 
    1111 
    1212  - Constants [0] { 
  • trunk/ext/jelix/tests/jicoordplugin_003.phpt

    r383 r476  
    11--TEST-- 
    2 Use of jIPlugin interface 
     2Use of jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
     
    66<?php  
    77 
    8 class myClass implements jIPlugin { 
     8class myClass implements jICoordPlugin { 
    99 
    1010        function beforeAction($param){ 
  • trunk/ext/jelix/tests/jicoordplugin_003.phpt

    r383 r476  
    11--TEST-- 
    2 Use of jIPlugin interface 
     2Use of jICoordPlugin interface 
    33--SKIPIF-- 
    44<?php if (!extension_loaded("jelix")) print "skip"; ?> 
     
    66<?php  
    77 
    8 class myClass implements jIPlugin { 
     8class myClass implements jICoordPlugin { 
    99 
    1010        function beforeAction($param){ 
Download in other formats: Unified Diff Zip Archive