PHP code example of michalsn / codeigniter-tags
1. Go to this page and download the library: Download michalsn/codeigniter-tags library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
michalsn / codeigniter-tags example snippets
class ExampleModel extends BaseModel
{
use HasTags;
// ...
protected function initialize()
{
$this->initTags();
}
// ...
}
class Example extends Entity
{
use TaggableEntity;
// ...
}