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
|
||||
* @param unknown $smarty
|
||||
* @return string the value of the requested attribute
|
||||
* @throws InvalidArgumentException if the object does not have the requested attribute.
|
||||
* @return string
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
protected function userDataAccess($objectLabel, $user, $params)
|
||||
{
|
||||
|
||||
@@ -1,11 +1,2 @@
|
||||
<h2>ALL ATTRIBUTES</h2>
|
||||
|
||||
<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>
|
||||
::{customer attr="firstname"};;
|
||||
::{customer attr="titleId"};;
|
||||
Reference in New Issue
Block a user