CollectionType::getBlockPrefix()

string getBlockPrefix()

Returns the prefix of the template block name for this type.

The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").

Return Value

string The prefix of the template block name
doc_Symfony
2016-10-28 06:09:30
Comments
Leave a Comment

Please login to continue.