#6059: [API] - HTML Helper css method: first param description is not complete.
-------------------------------------+--------------------------------------
Reporter: NOSLOW | Type: Documentation
Status: new | Priority: Low
Milestone: 1.2.x.x | Component: Documentation
Version: 1.2 Final | Severity: Minor
Keywords: API, HtmlHelper, css | Php_version: n/a
Cake_version: |
-------------------------------------+--------------------------------------
http://api.cakephp.org/class/html-helper#method-HtmlHelpercss [[BR]]
[[BR]]
The $path parameter of the HtmlHelper css method can handle filenames in
locations other than the default css folder, yet the API fails to mention
that. As is, it appears that you are limited to linking to css files
located only in the css folder.[[BR]]
[[BR]]
Like JavascriptHelper link method, you can prefix the filename with "/" to
reference files in other directories (http://api.cakephp.org/class
/javascript-helper#method-JavascriptHelperlink ).[[BR]]
[[BR]]
Sample wording should match that other description: "If the filename is
prefixed with "/", the path will be relative to the base path of your
application. Otherwise, the path will be relative to your CSS path,
usually webroot/css."
--
Ticket URL: <https://trac.cakephp.org/ticket/6059>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---