Viewing the source code of the Helper files in 5.7?
Permalink
Where i can find the helper files in version 5.7?
The Image helper, form helper and so on (I want to see all the function available for example).
And also how to use the C5 api to find all this function and helpers (i dont find this in the sidemenu)?
http://documentation.concrete5.org/api/index.html...
For example:
For example - "getLocalDateTime();" - i w
Thier is some way to see the getLocalDateTime() code? (in the api i dont find this)
The Image helper, form helper and so on (I want to see all the function available for example).
And also how to use the C5 api to find all this function and helpers (i dont find this in the sidemenu)?
http://documentation.concrete5.org/api/index.html...
For example:
For example - "getLocalDateTime();" - i w
$date = Loader::helper('date'); $userTime = $date->getLocalDateTime();
Thier is some way to see the getLocalDateTime() code? (in the api i dont find this)
Hi siton,
The ExchangeCore Developer Tools add-on includes a Services page that will list available services for you and their namespaces. It also creates an __IDE_SYMBOLS__.php file that lists core methods. Even without an IDE, it is very useful for searching by keyword and browsing.
https://www.concrete5.org/marketplace/addons/exchangecore-developer-...
The ExchangeCore Developer Tools add-on includes a Services page that will list available services for you and their namespaces. It also creates an __IDE_SYMBOLS__.php file that lists core methods. Even without an IDE, it is very useful for searching by keyword and browsing.
https://www.concrete5.org/marketplace/addons/exchangecore-developer-...
2) Form Helper - /concrete/src/Form/Service/Form.php
3) getLocalDateTime - /concrete/src/Localization/Service/Date.php
All of the helpers are in the /concrete/src somewhere I believe, not always the easiest to guess where, but they're in there.