/** * Read data from model and turns it into * a string suitable for display in a text area field * * @param array $options key/value pairs to restrict data selection */ public function getDisplayableList($options) { // get raw data $rawList = $this->getList($options); // make a simple string suitable for editing in a text area input field $displayableList = ''; if (!empty($rawList)) { foreach ($rawList as $alias) { $displayableList .= shUrlSafeDisplay($alias->alias) . "\n"; } } return $displayableList; }
/** * Read data from model and turns it into * a string suitable for display in a text area field * * @param array $options key/value pairs to restrict data selection */ public function getDisplayableList($options) { // get raw data $rawList = $this->getList($options, $returnZeroElement = false, $forcedLimitstart = null, $forcedLimit = 5000); // make a simple string suitable for editing in a text area input field $displayableList = ''; if (!empty($rawList)) { foreach ($rawList as $alias) { $displayableList .= shUrlSafeDisplay($alias->alias) . "\n"; } } return $displayableList; }