Resources ¶
- Home page
- demo - Not available yet
- Join discussion
- Report a bug
- Download from Google Code
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
See the following code example:
public function init()
{
parent::init( );
if ( $this->mp3Folder === null )
$this->mp3Folder = '{basePath}{/}mp3';
$this->attachBehavior( 'pubMan', #publishManager
array(
'class' => 'AiiPublishRegisterBehavior',
'cssPath' => false,
'jsToRegister' => array( 'audio-player.js' ),
'basePath' => dirname( __FILE__ ),
'jsPath' => '{assets}/js',
'otherResToPublish' => array( 'mp3Folder' => $this->mp3Folder ),
) );
$this->publishAll( );
$this->registerAll( );
}
Change Log ¶
March 14, 2010 ¶
- Initial release.
Match 19, 2010 ¶
- Release 0.2.1
- Fixed bug for publishing and registering CSS files when no other resources are regostered
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.