API Documentation

Tool/Project/Provider/Controller.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
subpackage
Framework
version
$Id: Controller.php 20967 2010-02-07 18:17:49Z ralph $
Classes
Zend_Tool_Project_Provider_Controller

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Tool_Project_Provider_Controller

Extends from
Zend_Tool_Project_Provider_Abstract
Implements
Zend_Tool_Framework_Provider_Pretendable
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
Methods
createResource
hasResource
_getControllersDirectoryResource
create

Description

Methods

_getControllersDirectoryResource

_getControllersDirectoryResource( Zend_Tool_Project_Profile $profile, string $moduleName = null ) : Zend_Tool_Project_Profile_Resource

_getControllersDirectoryResource()

Arguments
$profile
Zend_Tool_Project_Profile
$moduleName
string
Details
visibility
protected
final
false
static
true

create

create( string $name, bool $indexActionIncluded = true,  $module = null ) :

Create a new controller

Arguments
$name
string
The name of the controller to create, in camelCase.
$indexActionIncluded
bool
Whether or not to create the index action.
$module
Details
visibility
public
final
false
static
false

createResource

createResource( Zend_Tool_Project_Profile $profile, string $controllerName, string $moduleName = null ) : Zend_Tool_Project_Profile_Resource

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.

Arguments
$profile
Zend_Tool_Project_Profile
$controllerName
string
$moduleName
string
Details
visibility
public
final
false
static
true

hasResource

hasResource( Zend_Tool_Project_Profile $profile, string $controllerName, string $moduleName = null ) : Zend_Tool_Project_Profile_Resource

hasResource()

Arguments
$profile
Zend_Tool_Project_Profile
$controllerName
string
$moduleName
string
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.