Method Summary
-
string
addCredentialCondition(, )
Wraps content with a credential condition.
-
escapeString(, )
Escapes a string.
-
string
getButtonToAction(, , )
Returns HTML code for an action button.
-
array
getColumnCategories()
Returns all column categories.
-
string
getColumnEditTag(, )
Returns HTML code for a column in edit mode.
-
string
getColumnFilterTag(, )
Returns HTML code for a column in filter mode.
-
string
getColumnListTag(, )
Returns HTML code for a column in list mode.
-
array
getColumns()
Gets sfAdminColumn objects for a given category.
-
mixed
getFieldParameterValue(, , )
Gets a field parameter value.
-
string
getHelp(, )
Returns HTML code for a help text.
-
string
getHelpAsIcon(, )
Returns HTML code for a help icon.
-
string
getI18NString(, )
Wraps a content for I18N.
-
string
getLinkToAction(, , )
Returns HTML code for an action link.
-
mixed
getParameterValue(, )
Gets a parameter value.
-
mixed
getValueFromKey(, )
Gets the value for a given key.
-
string
replaceConstants()
Replaces constants in a string.
-
array
splitFlag()
Gets modifier flags from a column name.
generate , getClassName , getColumnGetter , getColumnListTag , getCrudColumnEditTag , getMap , getMethodParamsForGetOrCreate , getObjectTagParams , getPeerClassName , getPHPObjectHelper , getPluralName , getPrimaryKey , getPrimaryKeyIsSet , getPrimaryKeyUrlParams , getRelatedClassName , getRetrieveByPkParamsForAction , getRetrieveByPkParamsForGetOrCreate , getSingularName , getTableMap , getTestPksForGetOrCreate , loadMapBuilderClasses , loadPrimaryKeys , setScaffoldingClassName
Methods inherited from sfGenerator
evalTemplate , generate , generatePhpFiles , getGeneratedModuleName , getGeneratorClass , getGeneratorManager , getModuleName , getTheme , initialize , replacePhpMarks , setGeneratedModuleName , setGeneratorClass , setModuleName , setTheme , __call
Method Details
-
(string) addCredentialCondition (, )
Browse code
Wraps content with a credential condition.
returns HTML code
-
Escapes a string.
-
(string) getButtonToAction (, , )
Browse code
Returns HTML code for an action button.
returns HTML code
-
(array) getColumnCategories ()
Browse code
Returns all column categories.
returns The column categories
-
(string) getColumnEditTag (, )
Browse code
Returns HTML code for a column in edit mode.
returns HTML code
-
(string) getColumnFilterTag (, )
Browse code
Returns HTML code for a column in filter mode.
returns HTML code
-
(string) getColumnListTag (, )
Browse code
Returns HTML code for a column in list mode.
returns HTML code
-
Gets sfAdminColumn objects for a given category.
returns sfAdminColumn array
-
(mixed) getFieldParameterValue (, , )
Browse code
Gets a field parameter value.
returns The parameter value
-
Returns HTML code for a help text.
returns HTML code
-
(string) getHelpAsIcon (, )
Browse code
Returns HTML code for a help icon.
returns HTML code
-
(string) getI18NString (, )
Browse code
Wraps a content for I18N.
returns HTML code
-
(string) getLinkToAction (, , )
Browse code
Returns HTML code for an action link.
returns HTML code
-
(mixed) getParameterValue (, )
Browse code
Gets a parameter value.
returns The parameter value
-
(mixed) getValueFromKey (, )
Browse code
Gets the value for a given key.
returns The key value
-
(string) replaceConstants ()
Browse code
Replaces constants in a string.
-
Gets modifier flags from a column name.
returns An array of detected flags
|