Zend Framework
1.12
|
Public Member Functions | |
create ($name, $indexActionIncluded=true, $module=null) | |
Create a new controller. | |
![]() | |
initialize () | |
getContextClasses () | |
![]() | |
setRegistry (Zend_Tool_Framework_Registry_Interface $registry) | |
setRegistry() - required by Zend_Tool_Framework_Registry_EnabledInterface | |
Static Public Member Functions | |
static | createResource (Zend_Tool_Project_Profile $profile, $controllerName, $moduleName=null) |
createResource will create the controllerFile resource at the appropriate location in the profile. | |
static | hasResource (Zend_Tool_Project_Profile $profile, $controllerName, $moduleName=null) |
hasResource() | |
Static Protected Member Functions | |
static | _getControllersDirectoryResource (Zend_Tool_Project_Profile $profile, $moduleName=null) |
_getControllersDirectoryResource() | |
Additional Inherited Members | |
![]() | |
const | NO_PROFILE_THROW_EXCEPTION = true |
const | NO_PROFILE_RETURN_FALSE = false |
![]() | |
_loadProfile ($loadProfileFlag=self::NO_PROFILE_THROW_EXCEPTION, $projectDirectory=null, $searchParentDirectories=true) | |
_getProject is designed to find if there is project file in the context of where the client has been called from. | |
_findProfileDirectory ($projectDirectory=null, $searchParentDirectories=true) | |
_loadProfileRequired () | |
Load the project profile from the current working directory, if not throw exception. | |
_getProfile ($loadProfileFlag=self::NO_PROFILE_THROW_EXCEPTION) | |
Return the currently loaded profile. | |
_storeProfile () | |
_storeProfile() | |
_getContentForContext (Zend_Tool_Project_Context_Interface $context, $methodName, $parameters) | |
_hasProjectProviderDirectory ($pathToProfileFile) | |
![]() | |
$_projectPath = null | |
$_loadedProfile = null | |
![]() | |
static | $_isInitialized = false |
|
staticprotected |
_getControllersDirectoryResource()
Zend_Tool_Project_Profile | $profile | |
string | $moduleName |
create | ( | $name, | |
$indexActionIncluded = true , |
|||
$module = null |
|||
) |
Create a new controller.
string | $name | The name of the controller to create, in camelCase. |
bool | $indexActionIncluded | Whether or not to create the index action. |
|
static |
createResource will create the controllerFile resource at the appropriate location in the profile.
NOTE: it is your job to execute the create() method on the resource, as well as store the profile when done.
Zend_Tool_Project_Profile | $profile | |
string | $controllerName | |
string | $moduleName |
|
static |
Zend_Tool_Project_Profile | $profile | |
string | $controllerName | |
string | $moduleName |