Location: PHPKode > projects > Anahita Social Engine > dependencies/plg_system_socialengine/socialengine/type/string/string.php
<?php

class AnTypeString extends KObject
{
	public $value;
	
	public function __construct($options)
	{
		$options = $this->_initialize($options);
		$this->value = $options['value'];
	}
	
	protected function _initialize($options)
	{	
		$default = array(
			'value' => null
		);		
		
		return array_merge($default, $options);
	}
	
	public function __toString()
	{
		return (string) $this->value;
	}
}
Return current item: Anahita Social Engine