customer substitutions
This commit is contained in:
@@ -68,12 +68,12 @@ class DataAccessFunctions extends AbstractSmartyPlugin
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides access to user attributes using the accessors.
|
* @param $objectLabel
|
||||||
|
* @param $user
|
||||||
|
* @param $params
|
||||||
*
|
*
|
||||||
* @param array $params
|
* @return string
|
||||||
* @param unknown $smarty
|
* @throws \InvalidArgumentException
|
||||||
* @return string the value of the requested attribute
|
|
||||||
* @throws InvalidArgumentException if the object does not have the requested attribute.
|
|
||||||
*/
|
*/
|
||||||
protected function userDataAccess($objectLabel, $user, $params)
|
protected function userDataAccess($objectLabel, $user, $params)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,2 @@
|
|||||||
<h2>ALL ATTRIBUTES</h2>
|
::{customer attr="firstname"};;
|
||||||
|
::{customer attr="titleId"};;
|
||||||
<ul>
|
|
||||||
{loop name="attr" type="attribute"}
|
|
||||||
<li>
|
|
||||||
#TITLE - (#LOOP_COUNT / #LOOP_TOTAL)<br />
|
|
||||||
created at {format_date date=$CREATE_DATE} - updated at {format_date date=$UPDATE_DATE}
|
|
||||||
<hr />
|
|
||||||
</li>
|
|
||||||
{/loop}
|
|
||||||
</ul>
|
|
||||||
Reference in New Issue
Block a user