PHP code example of tektoh / app_description
1. Go to this page and download the library: Download tektoh/app_description 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/ */
tektoh / app_description example snippets
class DATABASE_CONFIG {
public $appDescription = [
'datasource' => 'AppDescription.AppDescriptionSource',
];
class Test extends AppModel
{
public $useDbConfig = 'appDescription';
public $useTable = false;
}
class TestsController extends AppController {
public $uses = [
'Test',
];
public function index() {
$test = $this->Test->find('first', [
'conditions' => [
'url' => 'https://itunes.apple.com/jp/app/youtube/id544007664?mt=8'
]
]);
debug($test);
}
}