Source for file class.acBlockType_text.php
Documentation is available at class.acBlockType_text.php
$params['block_type'] =
'text';
$size = isset
($params['size']) ?
intval($params['size']) :
'';
$maxlength = isset
($params['maxlength']) ?
$params['maxlength'] :
'';
$usewysiwyg =
(!isset
($params['usewysiwyg']) ||
!ac_utils::IsFalse($params['usewysiwyg'])) &&
((!isset
($params['wysiwyg']) ||
!ac_utils::IsFalse($params['wysiwyg'])));
$rows = isset
($params['rows']) ?
$params['rows'] :
'';
$cols = isset
($params['cols']) ?
$params['cols'] :
'';
$auto_resize =
!isset
($params['auto_resize']) ||
!ac_utils::IsFalse($params['auto_resize']);
$oneline = isset
($params['oneline']) &&
ac_utils::IsTrue($params['oneline']);
if($this->content_obj->GetPropertyValue('disable_wysiwyg'))
($this->GetProperty('auto_resize') ?
'AdvancedContent_textarea' :
''),
$this->content_obj->GetStylesheet(),
return '<input id="'.
$this->GetProperty('id').
'" type="text"' .
' maxlength="' .
$this->GetProperty('maxlength') .
' "' :
'') .
if($this->_header_html_called)
$this->_header_html_called =
true;
<script language="javascript" type="text/javascript">
ac_onload.push(function(){
$("textarea.AdvancedContent_textarea").autoResize({
limit:jQuery(window).height()
Documentation generated on Tue, 09 Oct 2012 16:57:04 +0200 by phpDocumentor 1.4.1