return $path_parts;
}
-
/**
* Build the breadcrumb.
*
* The generated markup tag.
*/
protected function pr_create_tag_section($headers = NULL, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_SECTION, self::CSS_AS_SECTION);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_SECTION, self::CSS_AS_SECTION);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_wrapper($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_WRAPPER, self::CSS_AS_WRAPPER);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_WRAPPER, self::CSS_AS_WRAPPER);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_break($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_BREAK, self::CSS_AS_BREAK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_BREAK, self::CSS_AS_BREAK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_text($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_header($text, $header, $arguments = array(), $id = NULL, $extra_class = NULL, $prepend = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_HEADER, self::CSS_AS_HEADER, self::CSS_AS_HEADER . '-' . $header);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_HEADER, self::CSS_AS_HEADER, self::CSS_AS_HEADER . '-' . $header);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_headers($headers, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_HEADERS, self::CSS_AS_HEADERS);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_HEADERS, self::CSS_AS_HEADERS);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_paragraph($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH, self::CSS_AS_PARAGRAPH);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH, self::CSS_AS_PARAGRAPH);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_text_block($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TEXT_BLOCK, self::CSS_AS_TEXT_BLOCK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TEXT_BLOCK, self::CSS_AS_TEXT_BLOCK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
if (!is_null($text)) {
if (is_int($text)) {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_TEXT), $this->pr_get_text($text, $arguments));
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $this->pr_get_text($text, $arguments));
}
else {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_TEXT), $text);
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $text);
}
$block->set_tag($tag);
* The generated markup tag.
*/
protected function pr_create_tag_paragraph_block($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH_BLOCK, self::CSS_AS_PARAGRAPH_BLOCK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH_BLOCK, self::CSS_AS_PARAGRAPH_BLOCK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
if (!is_null($text)) {
if (is_int($text)) {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_PARAGRAPH_BLOCK), $this->pr_get_text($text, $arguments));
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $this->pr_get_text($text, $arguments));
}
else {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_PARAGRAPH_BLOCK), $text);
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $text);
}
$block->set_tag($tag);
* The generated markup tag.
*/
protected function pr_create_tag_link($text, $tooltip, $destination, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_LINK, self::CSS_AS_LINK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_LINK, self::CSS_AS_LINK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
unset($classes);
if (is_int($text)) {
- $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_A, NULL, $classes, $this->pr_get_text($text, $arguments));
+ $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_A, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $this->pr_get_text($text, $arguments));
}
else {
- $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_A, NULL, $classes, $text);
+ $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_A, NULL, array($this->settings['base_css'] . self::CSS_AS_TEXT, self::CSS_AS_TEXT), $text);
}
if (is_array($destination)) {
* The generated markup tag.
*/
protected function pr_create_tag_link_block($text, $tooltip, $destination, $description, $arguments = array(), $header = 0, $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_LINK_BLOCK, self::CSS_AS_LINK_BLOCK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_LINK_BLOCK, self::CSS_AS_LINK_BLOCK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
$wrapper = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_DIVIDER, NULL, array(self::CSS_AS_TEXT, self::CSS_AS_LINK_BLOCK_NAME));
}
else {
- $header_classes = array($this->settings['base_css'] . self::CSS_AS_HEADER, self::CSS_AS_HEADER, self::CSS_AS_HEADER . '-' . $header, self::CSS_AS_LINK_BLOCK_NAME);
+ $header_classes = array($this->settings['base_css'] . self::CSS_AS_HEADER, self::CSS_AS_HEADER, self::CSS_AS_HEADER . '-' . $header, self::CSS_AS_LINK_BLOCK_NAME);
if ($header == 1) {
$type = c_base_markup_tag::TYPE_H1;
* The generated markup tag.
*/
protected function pr_create_tag_fieldset($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH_BLOCK, self::CSS_AS_PARAGRAPH_BLOCK);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_PARAGRAPH_BLOCK, self::CSS_AS_PARAGRAPH_BLOCK);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
if (!is_null($text)) {
if (is_int($text)) {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_FIELD_SET_LEGEND), $this->pr_get_text($text, $arguments));
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_FIELD_SET_LEGEND, self::CSS_AS_FIELD_SET_LEGEND), $this->pr_get_text($text, $arguments));
}
else {
- $tag = c_theme_html::s_create_tag($this->text_type, NULL, array(self::CSS_AS_FIELD_SET_LEGEND), $text);
+ $tag = c_theme_html::s_create_tag($this->text_type, NULL, array($this->settings['base_css'] . self::CSS_AS_FIELD_SET_LEGEND, self::CSS_AS_FIELD_SET_LEGEND), $text);
}
$block->set_tag($tag);
* The generated markup tag.
*/
protected function pr_create_tag_row($value = NULL, $arguments = array(), $id = NULL, $extra_class = NULL, $row = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_ROW, self::CSS_AS_ROW);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_ROW, self::CSS_AS_ROW);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_field_row($field_name = NULL, $field_value = NULL, $arguments = array(), $id = NULL, $extra_class = NULL, $row = NULL, $spacer = FALSE) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_FIELD_ROW, self::CSS_AS_FIELD_ROW);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_FIELD_ROW, self::CSS_AS_FIELD_ROW);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
$tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_DIVIDER, $id, $classes);
unset($classes);
- $tag_text = $this->pr_create_tag_text($field_name, $arguments, $id, self::CSS_AS_FIELD_ROW_NAME);
+ $tag_text = $this->pr_create_tag_text($field_name, $arguments, NULL, self::CSS_AS_FIELD_ROW_NAME);
$tag->set_tag($tag_text);
unset($tag_text);
$this->pr_create_tag_spacer($tag);
}
- $tag_text = $this->pr_create_tag_text($field_value, $arguments, $id, self::CSS_AS_FIELD_ROW_VALUE);
+ $tag_text = $this->pr_create_tag_text($field_value, $arguments, NULL, self::CSS_AS_FIELD_ROW_VALUE);
$tag->set_tag($tag_text);
unset($tag_text);
* The generated markup tag.
*/
protected function pr_create_tag_table($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE, self::CSS_AS_TABLE);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE, self::CSS_AS_TABLE);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
unset($class);
}
- $table_tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_TABLE, $id, $classes);
+ $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_TABLE, $id, $classes);
if (!is_null($text)) {
if (is_int($text)) {
- $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_CAPTION, $id, $classes, $this->pr_get_text($text, $arguments));
+ $tag_text = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_CAPTION, NULL, array($this->settings['base_css'] . self::CSS_AS_TABLE_CAPTION, self::CSS_AS_TABLE_CAPTION), $this->pr_get_text($text, $arguments));
}
else {
- $tag = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_CAPTION, $id, $classes, $text);
+ $tag_text = c_theme_html::s_create_tag(c_base_markup_tag::TYPE_CAPTION, NULL, array($this->settings['base_css'] . self::CSS_AS_TABLE_CAPTION, self::CSS_AS_TABLE_CAPTION), $text);
}
- $table_tag->set_tag($tag);
- unset($tag);
+ $tag->set_tag($tag_text);
+ unset($tag_text);
}
- return $table_tag;
+ return $tag;
}
/**
* The generated markup tag.
*/
protected function pr_create_tag_table_caption($text, $arguments = array(), $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_CAPTION, self::CSS_AS_TABLE_CAPTION);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_CAPTION, self::CSS_AS_TABLE_CAPTION);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_column($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_COLUMN, self::CSS_AS_TABLE_COLUMN);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_COLUMN, self::CSS_AS_TABLE_COLUMN);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_column_group($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_COLUMN_GROUP, self::CSS_AS_TABLE_COLUMN_GROUP);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_COLUMN_GROUP, self::CSS_AS_TABLE_COLUMN_GROUP);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_header($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_HEADER, self::CSS_AS_TABLE_HEADER);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_HEADER, self::CSS_AS_TABLE_HEADER);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_header_cell($text, $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_HEADER_CELL, self::CSS_AS_TABLE_HEADER_CELL);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_HEADER_CELL, self::CSS_AS_TABLE_HEADER_CELL);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_body($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_BODY, self::CSS_AS_TABLE_BODY);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_BODY, self::CSS_AS_TABLE_BODY);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_row($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_ROW, self::CSS_AS_TABLE_ROW);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_ROW, self::CSS_AS_TABLE_ROW);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_cell($text, $id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_CELL, self::CSS_AS_TABLE_CELL);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_CELL, self::CSS_AS_TABLE_CELL);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
* The generated markup tag.
*/
protected function pr_create_tag_table_footer($id = NULL, $extra_class = NULL) {
- $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_FOOTER, self::CSS_AS_TABLE_FOOTER);
+ $classes = array($this->settings['base_css'] . self::CSS_AS_TABLE_FOOTER, self::CSS_AS_TABLE_FOOTER);
if (is_string($extra_class)) {
$classes[] = $extra_class;
}
return new c_base_return_true();
}
-
/**
* Create an HTML primary id attributes.
*